Cogs.Core
UniformGridIsoComponent.cpp
1#include "UniformGridIsoComponent.h"
2#include "Types.h"
3
4using namespace Cogs::Reflection;
5
6void Cogs::Core::EchoSounder::UniformGridIsoComponent::registerType()
7{
8 Field fields[] = {
9 Field(Name("thresholds"), &UniformGridIsoComponent::thresholds),
10 Field(Name("innerLayerOpaque"), &UniformGridIsoComponent::innerLayerOpaque),
11 Field(Name("uTextureRange"), &UniformGridIsoComponent::uTextureRange),
12 Field(Name("vTextureRange"), &UniformGridIsoComponent::vTextureRange),
13 Field(Name("material"), &UniformGridIsoComponent::material),
14 };
15 TypeDatabase::createType<UniformGridIsoComponent>()
16 .setBase<DynamicComponent>()
17 .setFields(fields);
18}
Field definition describing a single data member of a data structure.
Definition: Field.h:68
Contains reflection support.
Definition: Component.h:11
Represents an unique name.
Definition: Name.h:70