GLSLMaterialBackend

Undocumented in source.

Constructors

this
this(Owner o)
Undocumented in source.

Members

Functions

bind
void bind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
fragmentShaderSrc
string fragmentShaderSrc()
Undocumented in source.
unbind
void unbind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
vertexShaderSrc
string vertexShaderSrc()
Undocumented in source.

Variables

fragmentShader
GLuint fragmentShader;
Undocumented in source.
shaderProgram
GLuint shaderProgram;
Undocumented in source.
vertexShader
GLuint vertexShader;
Undocumented in source.

Inherited Members

From GenericMaterialBackend

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.
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.
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.
bind
void bind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source.
unbind
void unbind(GenericMaterial mat, RenderingContext* rc)
Undocumented in source.

Meta