Cogs.Core
Public Attributes | List of all members
Cogs::Core::MaterialData Struct Reference

Public Attributes

MaterialInstanceHandle instance = MaterialInstanceHandle::NoHandle
 Currently active material instance.
 
bool sharedInstance = false
 If the material instance currently held is shared.
 
bool lockInstance = false
 If the material component should be locked to its current instance.
 

Detailed Description

Definition at line 15 of file MaterialSystem.h.

Member Data Documentation

◆ instance

MaterialInstanceHandle Cogs::Core::MaterialData::instance = MaterialInstanceHandle::NoHandle

Currently active material instance.

Definition at line 18 of file MaterialSystem.h.

◆ lockInstance

bool Cogs::Core::MaterialData::lockInstance = false

If the material component should be locked to its current instance.

Definition at line 24 of file MaterialSystem.h.

◆ sharedInstance

bool Cogs::Core::MaterialData::sharedInstance = false

If the material instance currently held is shared.

Definition at line 21 of file MaterialSystem.h.


The documentation for this struct was generated from the following file: