Cogs.Core
VolOctDummyProviderComponent.cpp
1#include "VolOctDummyProviderComponent.h"
2#include "Types.h"
3
4using namespace Cogs::Reflection;
5
6void Cogs::Core::Volumetric::VolOctDummyProviderComponent::registerType()
7{
8 Field fields[] = {
9 Field(Name("debugSource"), &VolOctDummyProviderComponent::debugSource),
10 Field(Name("radius"), &VolOctDummyProviderComponent::radius),
11 };
12
13 Reflection::TypeDatabase::createType<VolOctDummyProviderComponent>()
14 .setFields(fields)
15 .setBase<Component>();
16}
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