Struct Material

Struct Documentation

struct Material

A material that stores information about color and texture of a cluster.

Public Types

using LayerMap = std::map<std::string, TextureHandle>

Public Members

boost::optional<TextureHandle> m_texture

Optional texture handle.

boost::optional<RGB8Color> m_color

Optional color.

LayerMap m_layers

Map from texture layer to texture.