Graphics::Material class

Represents a material that controls the visual appearance of game objects.

Materials contain one to four CompiledState objects, as well as any number of textures. Materials are identified using an ID.

Public functions

auto GetState() -> RenderWare::CompiledState*
auto AddRef() -> int
auto Release() -> int

Public variables

uint8_t statesCount
RenderWare::CompiledState* states
uint32_t materialID
int field_1C
eastl::vector<TexturePtr> textures
char field_34