mojo3d.Material - nitrologic/monkey2 GitHub Wiki

mojo3d::mojo3d.Material

Class Material Extends std: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.
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