Struct Context2D

Struct Documentation

struct Context2D

Owned pass inputs for CPU asset resolution.

The default inserts the asset image as {image,0}; nullopt opts out for ordinary assets/legacy fonts. Unicode generation submission requires page-image insertion.

See also

Rendering guide

Public Members

CE::Rendering::Parameters::PassSemantics pass

Copied engine projection/view semantics.

CE::Rendering::Parameters::Set parameters

Owned custom pass values, below material/draw values.

CE::Rendering::Pipelines::PassConstraints2D constraints

Required pipeline fixed-state choices.

std::optional<ImageParameter2D> image = ImageParameter2D{"image", 0}

Automatic image key/unit, or nullopt for manual ordinary-asset bindings.