core::data::material_t class final

Describes a collection of resources that can be used to initialize a core::ivk::material_t.

Material data describes a collection of textures, buffers, shaders, override parameters for these shaders, blend operations (such as opaque or transparent), render order offsets, and generic options of how this material should be rendered. It also contains facilities to set default values on buffers if needed.

types

classes

blendstate
describes the blend operation (source/destination) per color component in the render operation.

static variables

MATERIAL_DATA
special identifier to mark buffers that are instanciable data
constexprconstexprpublicpublicstaticstatic

Variable documentation

static psl::string_view core::data::material_t::MATERIAL_DATA constexpr

special identifier to mark buffers that are instanciable data

this type of buffer has data that is unique per instanciated material