17 #ifndef SINGLETONINSTANCEDSHADERBASE_H
18 #define SINGLETONINSTANCEDSHADERBASE_H
21 #include "InstancedShaderBase.h"
31 template<
typename TShaderImpl>
58 #endif // SINGLETONINSTANCEDSHADERBASE_H
std::shared_ptr< TShaderImpl > TShaderImplPtr
Helper typedef for a shared pointer to a TShaderImpl.
Definition: SingletonInstancedShaderBase.h:37
Header declaring and including types common to renderer classes such as Vector2. Also includes GL hea...
static TShaderImplPtr getInstance()
Returns the singleton instance of this shader, creating it if necessary.
Definition: SingletonInstancedShaderBase.h:46
std::weak_ptr< TShaderImpl > TShaderImplWeakPtr
Helper typedef for a weak shared pointer to a TShaderImpl.
Definition: SingletonInstancedShaderBase.h:41
Helper class to implement InstancedShader subclasses, by managing a shared Shader.
Definition: InstancedShaderBase.h:44
A helper to define singletons for InstancedShaders.
Definition: PointerDeclarations.h:45