Struct Materials

Struct Documentation

struct Materials

Explicit UI material overrides: colored triangles, premultiplied alpha, disabled depth/write/culling and projection semantics.

Empty overrides do not request defaults.

Public Members

std::shared_ptr<const CE::Rendering::Resources::Material> solid

Retained pipeline/material for untextured draws.

std::shared_ptr<const CE::Rendering::Resources::Material> textured

Retained material with a custom Sampler2D for textured draws.

std::string image_parameter = "image"

Name of the custom Sampler2D populated from each recorded draw.

std::uint32_t image_unit = 0

Texture unit used for this image binding.

CE::Rendering::Parameters::Set pass_parameters

Copied pass-layer custom values, merged with material defaults.