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 AddRef() -> int
auto Release() -> int

Public variables

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