ShaderMaterial

Undocumented in source.

Constructors

this
this(T params)
Undocumented in source.

Members

Functions

init
void init()
Undocumented in source. Be warned that the author may not have intended to support it.
set_uniform
void set_uniform(string key, T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Material

ParamType
alias ParamType = Algebraic!(int[], bool, string, int, DrawMode, Texture, AttributeType[string][string], UniformType[string][string])
Undocumented in source.
set_param
void set_param(T params)
Undocumented in source. Be warned that the author may not have intended to support it.
program
ShaderProgram program [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
params
ParamType[string] params [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init()
Undocumented in source. Be warned that the author may not have intended to support it.
create_program
void create_program(string vertexShaderSource, string fragmentShaderSource)
Undocumented in source. Be warned that the author may not have intended to support it.
_params
ParamType[string] _params;
Undocumented in source.
_program
ShaderProgram _program;
Undocumented in source.
_name
string _name;
Undocumented in source.

Meta