Cogs.Core
GuiRenderComponent.h
1#pragma once
2
3#include "Components/Core/RenderComponent.h"
4
5#include "Types.h"
6#include "Resources/Resources.h"
7
8#include <glm/vec4.hpp>
9
10namespace Cogs
11{
12 namespace Core
13 {
15 {
16 TextureHandle target;
17
18 glm::vec4 clearColor = { 0, 0, 0, 0 };
19
21
22 static void registerType();
23 };
24 }
25}
26
27template<> inline Cogs::StringView getName<Cogs::Core::GuiRenderComponent>() { return "GuiRenderComponent"; }
Base component for all rendering content.
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
Contains all Cogs related functionality.
Definition: FieldSetter.h:23
Handle to a Component instance.
Definition: Component.h:67
static ComponentHandle Empty()
Returns an empty, invalid handle. Will evaluate to false if tested against using operator bool().
Definition: Component.h:119