HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_Shader::Factory Class Referenceabstract

#include <RE_Shader.h>

+ Inheritance diagram for RE_Shader::Factory:

Public Member Functions

virtual RE_ShadernewShader (const char *name, int shader_version, RE_ShaderLanguage lang)=0
 
virtual ~Factory ()
 

Detailed Description

Call to allocate a specific shader type. If you want to allocate a shader of a specific GLSL version, set the version to the same number as the version string in the shader (ie, 120 for 1.20, 330 for 3.30). Otherwise the shader inherits the version from the first shader object attached.

Definition at line 84 of file RE_Shader.h.

Constructor & Destructor Documentation

virtual RE_Shader::Factory::~Factory ( )
inlinevirtual

Reimplemented in RV_VKShader::Factory.

Definition at line 92 of file RE_Shader.h.

Member Function Documentation

virtual RE_Shader* RE_Shader::Factory::newShader ( const char *  name,
int  shader_version,
RE_ShaderLanguage  lang 
)
pure virtual

Implemented in RV_VKShader::Factory.


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