3#include "RenderComponent.h"
62 static void registerType();
67template<>
inline Cogs::StringView getName<Cogs::Core::SpriteRenderComponent>() {
return "SpriteRenderComponent"; }
68template<>
inline Cogs::StringView getName<Cogs::Core::SizeMode>() {
return "SizeMode"; }
69template<>
inline Cogs::StringView getName<Cogs::Core::PositionMode>() {
return "PositionMode"; }
Base component for all rendering content.
Provides a weakly referenced view over the contents of a string.
PositionMode
Positioning mode.
@ World
Position given in world space coordinates.
@ Relative
Size given in normalized device coordinates.
@ Pixels
Size given in screen pixels.
Contains all Cogs related functionality.