Struct MaterialMetadata

Struct Documentation

struct MaterialMetadata

Format-specific metadata for material resources.

Materials reference shaders and textures. This metadata stores the shader reference that defines how the material should be rendered.

Public Functions

void archive(ArchiveObject &archive) const

Public Members

StringId shader

Public Static Functions

static MaterialMetadata dearchive(const ArchiveObject &archive)