Struct ResourceMetadata

Struct Documentation

struct ResourceMetadata

The metadata associated with a resource ID.

A resource can be either a buffer, texture, shader, or sampler, indicated by the given type field.

Public Members

ResourceType type = {kResourceTypeInvalid}
std::string debugName

The debug name, if set, empty otherwise.

See also

ResourceType

BufferMetadata buffer = {}
TextureMetadata texture = {}
ShaderMetadata shader = {}
SamplerMetadata sampler = {}