Struct State2D

Struct Documentation

struct State2D

Fixed per-pipeline intent, validated before publication.

Public Members

Blend blend = Blend::StraightAlpha

Color composition policy.

Depth depth = Depth::Disabled

Depth comparison; disabled by default.

bool depth_write = false

Whether successful fragments replace depth; requires enabled comparison.

Cull cull = Cull::None

Triangle face rejection policy.