Cogs.Core
|
Public Member Functions | |
bool | initializeStatic () override |
Initialize extension statically. | |
bool | initialize (Context *context) override |
Initialize extension for the given context. | |
const char * | getExtensionKey () const override |
Get the extensions unique key, used to check for extension presence and retrieve extension specific data from the context. | |
![]() | |
virtual bool | initializeStatic () |
Initialize extension statically. | |
virtual bool | initialize (Context *) |
Initialize extension for the given context. | |
virtual void | cleanup (Context *) |
Cleanup context bound extension content. | |
virtual const char * | getExtensionKey () const =0 |
Get the extensions unique key, used to check for extension presence and retrieve extension specific data from the context. | |
virtual void * | getSymbolPointer (const char *) const |
Get pointer to symbol defined by extension. | |
virtual const void * | getPublicAPI () const |
Retrieve a pointer to a struct containing all publicly available function pointers. | |
Definition at line 16 of file TerrainExtension.cpp.
|
inline |
Definition at line 18 of file TerrainExtension.cpp.
|
inlineoverridevirtual |
Get the extensions unique key, used to check for extension presence and retrieve extension specific data from the context.
Implements Cogs::Core::Extension.
Definition at line 23 of file TerrainExtension.cpp.
|
overridevirtual |
Initialize extension for the given context.
Override this method to provide context bound initialization. This can for example be registering entity definitions in the entity store, creating component systems in the context, or other per context tasks.
context | Context currently being initialized. |
Reimplemented from Cogs::Core::Extension.
Definition at line 33 of file TerrainExtension.cpp.
References Cogs::Core::createEntityDefinition(), Cogs::Core::SystemPriority::PostTransform, Cogs::Core::Context::resourceStore, and Cogs::Core::Context::store.
|
overridevirtual |
Initialize extension statically.
Override this method to provide static initialization code. This can for example be filling data tables for later use, registering types in the static type system or other tasks that are only necessary to perform once per application run.
Reimplemented from Cogs::Core::Extension.
Definition at line 26 of file TerrainExtension.cpp.