GenericMaterialBackend

Undocumented in source.

Members

Functions

bind
void bind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source.
boolProp
bool boolProp(GenericMaterial mat, string prop)
Undocumented in source. Be warned that the author may not have intended to support it.
intProp
int intProp(GenericMaterial mat, string prop)
Undocumented in source. Be warned that the author may not have intended to support it.
makeOnePixelTexture
Texture makeOnePixelTexture(Material mat, Color4f color)
Undocumented in source. Be warned that the author may not have intended to support it.
makeTextureFrom
Texture makeTextureFrom(Material mat, MaterialInput r, MaterialInput g, MaterialInput b, MaterialInput a)
Undocumented in source. Be warned that the author may not have intended to support it.
packAlphaToTexture
void packAlphaToTexture(Texture rgb, Texture alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
packAlphaToTexture
void packAlphaToTexture(Texture rgb, float alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source.

Meta