Cogs.Core
Source
Components
Core
StaticModelComponent.h
1
#pragma once
2
3
#include "Resources/Resources.h"
4
5
#include "Foundation/ComponentModel/Component.h"
6
7
namespace
Cogs::Core
8
{
9
struct
StaticModelComponent
:
public
ComponentModel::Component
10
{
11
static
void
registerType();
12
13
ModelHandle
model;
14
};
15
}
16
17
template
<>
inline
Cogs::StringView
getName<Cogs::Core::StaticModelComponent>() {
return
"StaticModelComponent"
; }
Cogs::ComponentModel::Component
Base class for Component instances.
Definition:
Component.h:143
Cogs::StringView
Provides a weakly referenced view over the contents of a string.
Definition:
StringView.h:24
Cogs::Core
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Definition:
ComponentFunctions.h:10
Cogs::Core::ResourceHandle_t< Model >
Cogs::Core::StaticModelComponent
Definition:
StaticModelComponent.h:10
Generated by
1.9.6