UmbraMaterial struct

Description of a Material.

A material refers to a set of exported texture assets

Public variables

UmbraTextureDescriptor* textures
List of textures used by the material.
uint32_t textureCount
Number of textures used.
UmbraBool transparent
Set to treat material as transparent.

Variable details

UmbraTextureDescriptor* UmbraMaterial::textures

List of textures used by the material.

May not contain more than one texture with the same UmbraTextureType.

UmbraBool UmbraMaterial::transparent

Set to treat material as transparent.

Any transparency specified by texture/vertex attributes is ignored unless this is set