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