Material

Undocumented in source.

Constructors

this
this(Shader shader, Owner o)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bind
void bind(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
boolProp
bool boolProp(string prop)
Undocumented in source. Be warned that the author may not have intended to support it.
intProp
int intProp(string prop)
Undocumented in source. Be warned that the author may not have intended to support it.
isTransparent
bool isTransparent()
Undocumented in source. Be warned that the author may not have intended to support it.
makeTexture
Texture makeTexture(Color4f rgb, Texture alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
makeTexture
Texture makeTexture(Texture rgb, float alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
makeTexture
Texture makeTexture(Texture rgb, Texture alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
makeTexture
Texture makeTexture(MaterialInput r, MaterialInput g, MaterialInput b, MaterialInput a)
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
auto opDispatch()
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
void opDispatch(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setInput
MaterialInput* setInput(string name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStandardInputs
void setStandardInputs()
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
usesCustomShader
bool usesCustomShader()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

customShader
bool customShader;
Undocumented in source.
inputs
Dict!(MaterialInput, string) inputs;
Undocumented in source.
shader
Shader shader;
Undocumented in source.

Meta