Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ToyMaker::SceneSystem::getNodeByID_Helper< TSceneNode, Enable > Struct Template Reference

Helper struct for retrieving nodes based on their UniversalEntityIDs. More...

Static Public Member Functions

static std::shared_ptr< TSceneNode > get (const UniversalEntityID &universalEntityID, SceneSystem &sceneSystem)
 

Detailed Description

template<typename TSceneNode, typename Enable = void>
struct ToyMaker::SceneSystem::getNodeByID_Helper< TSceneNode, Enable >

Helper struct for retrieving nodes based on their UniversalEntityIDs.

The reason it is a struct and not a function is because functions don't permit partial specializations.

Template Parameters
TSceneNodeThe type of scene node being retrieved.
EnableTemplate parameter governing whether a particular specialization is permitted or not.

The documentation for this struct was generated from the following file: