A material. Uses several textures and a shader with specific settings for more interesting visual effects.
A material. Uses several textures and a shader with specific settings for more interesting visual effects.
Member Name | Summary |
---|---|
Create | Creates a new material with the specified name and shader. |
FromShader | Creates a material from a specified shader. |
Load | Loads a material from a file. |
LoadAsync | Asynchronously loads a material from a file. |
Member Name | Summary |
---|---|
CreateCopy | Create a copy of this material. |
Set | Sets a parameter value for the material. |
GetTexture | Retrieves a texture by name from the material. |
Name | Name (or path) of the material. |
Attributes | Access to all of the attributes of this material. |
ShaderName | Gets the underlying shader name for this material. |
Shader | Gets the material's shader. |
FirstTexture | Gets the first texture of the material. |
Flags | Access flags on this material, which usually hint about the contents. |