18 #ifndef PRTX_SHADER_H_ 19 #define PRTX_SHADER_H_ 21 #include "prtx/prtx.h" 22 #include "prtx/Types.h" 23 #include "prtx/Builder.h" 24 #include "prtx/Content.h" 30 # pragma warning(push) 31 # pragma warning (disable : 4231 4251 4275 4660) 41 typedef std::shared_ptr<Shader>
ShaderPtr;
105 virtual const std::wstring& getName()
const = 0;
111 virtual size_t getKey(
const std::wstring& name)
const = 0;
116 virtual bool hasKey(
const std::wstring& name)
const = 0;
143 void setName(
const std::wstring& name);
144 size_t addKey(
const std::wstring& name,
Shader::KeyType type,
size_t size);
147 virtual ShaderPtr createShared(std::wstring* warnings = 0)
const;
148 virtual ShaderPtr createSharedAndReset(std::wstring* warnings = 0);
159 # pragma warning(pop)
Float type.
Definition: Shader.h:95
std::shared_ptr< Shader > ShaderPtr
shared Shader pointer
Definition: Shader.h:40
Boolean type.
Definition: Shader.h:94
KeyType
Definition: Shader.h:92
String type.
Definition: Shader.h:96
The Procedural Runtime eXtension namespace. The prtx namespace contains the tools to extend the Proce...
Definition: AnnotationBuilder.h:35
Integer type.
Definition: Shader.h:93
std::vector< std::wstring > WStringVector
vector of std::wstring
Definition: Types.h:35