Mojo3d material
Class Material Extends std.resource.Resource#
The Material class.
Enums | |
---|---|
Attrib |
Properties | |
---|---|
AttribMask | |
BlendMode | The material blendmode. |
CullMode | The material cullmode. |
Name | Material name. |
SelfIlluminated | |
ShaderName | |
TextureMatrix | The material texture matrix. |
Uniforms | The material uniforms. (read only) |
Methods | |
---|---|
Copy | Creates a copy of the material. |
GetRenderShader | Gets material's shader for rendering. |
RotateTextureMatrix | Rotates the texture matrix. |
ScaleTextureMatrix | Scales the texture matrix. |
TranslateTextureMatrix | Translates the texture matrix. |
Functions | |
---|---|
LoadTexture |