Wasabi
|
#include <WGeometry.hpp>
Public Member Functions | |
WGeometryManager (class Wasabi *const app) | |
void | UpdateDynamicGeometries (uint32_t bufferIndex) const |
![]() | |
WManager (class Wasabi *const a) | |
bool | RegisterChangeCallback (std::string name, std::function< void(WGeometry *, bool)> callback) |
void | RemoveChangeCallback (std::string name) |
void | AddEntity (WGeometry *entity) |
bool | RemoveEntity (WGeometry *entity) |
void | OnEntityNameChanged (WGeometry *entity, std::string oldName) |
virtual void | Init () |
WGeometry * | GetEntity (uint32_t ID) const |
WGeometry * | GetEntity (std::string name) const |
WGeometry * | GetEntityByIndex (uint32_t index) const |
uint32_t | GetEntitiesCount (void) const |
Friends | |
class | WGeometry |
Additional Inherited Members | |
![]() | |
class Wasabi *const | m_app |
![]() | |
std::vector< WGeometry * > | m_entities [W_HASHTABLESIZE] |
std::unordered_map< std::string, WGeometry * > | m_entitiesByName |
Manager class for WGeometry.
void WGeometryManager::UpdateDynamicGeometries | ( | uint32_t | bufferIndex | ) | const |
Makes sure all Map call results are propagated to the buffered geometries at the given buffer index.