Struct PassConstraints2D

Struct Documentation

struct PassConstraints2D

Optional pass requirements checked against each pipeline; absent values permit either choice.

Public Members

std::optional<Blend> blend

Required blend, or no restriction.

std::optional<Depth> depth = Depth::Disabled

Disabled-depth requirement by default; reset to allow either mode.

std::optional<bool> depth_write

Required depth-write flag, or no restriction.

std::optional<Cull> cull

Required face policy, or no restriction.