Stores a compiled vertex or pixel shader program.
Shader | Stores a compiled vertex or pixel shader program. |
type | One of NullShader, VertexShader or PixelShader. |
filename | A human-readable string to identify this Shader object. |
shaderHandle | Specifies the OPENGL ES handle to the compiled shader. |
shaderVariables | |
ctor | Constructs a null Shader object. |
~dtor | |
LoadFromFile(...) (+2 overloads) | |
LoadFromString(...) | |
Deinit() | Frees up all the resources used by this Shader, and makes this a null object. |
Name()[const] | |
ReflectShaderCode(shaderData) | Parses the shader code string and populates the found shader variables in it into shaderVariables list. |
FromFile(...)[static] (+2 overloads) | Loads a shader from a text file. |
FromString(...)[static] |