MaterialAsset

A collection of textures that serve different purposes in the rendering pipeline.

Constructors

this
this(string name = "")

Default constructor, makes sure everything is initialized to default.

Members

Functions

clone
MaterialAsset clone()

Duplicate the material.

shutdown
void shutdown()

Shuts down the material, making sure all references are released.

Variables

diffuse
Texture diffuse;

The diffuse (or color) map.

name
string name;

The name of the material.

normal
Texture normal;

The normal map, which specifies which way a face is pointing at a given pixel.

specular
Texture specular;

The specular map, which specifies how shiny a given point is.

Meta