- _shaderChanged
void _shaderChanged()
- getShader
Ref!Shader getShader()
- getShaderParam
Variant getShaderParam(StringArg0 param)
Returns the current value set for this material of a uniform in the shader.
- opAssign
ShaderMaterial opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(ShaderMaterial other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- propertyCanRevert
bool propertyCanRevert(StringArg0 name)
- propertyGetRevert
Variant propertyGetRevert(StringArg0 name)
- setShader
void setShader(Shader shader)
- setShaderParam
void setShaderParam(StringArg0 param, VariantArg1 value)
Changes the value set for this material of a uniform in the shader.
A material that uses a custom Shader program.
A material that uses a custom Shader program to render either items to screen or process particles. You can create multiple materials for the same shader but configure different values for the uniforms defined in the shader.