Skip to content

Expose depth/stencil state. #17

@crud89

Description

@crud89

Currently the depth/stencil state can only be enabled or disabled. This should be enhanced by exposing the depth and stencil states on a pipeline.

The depth state should expose:

  • Bias.
  • Compare operation. †
  • Test enable/disable. †
  • Write enable/disable. †
  • Depth boundaries.
  • Boundaries test enable/disable. †

The stencil state should expose:

  • Test enable/disable. †
  • Compare mask.
  • Write mask.
  • Reference value.

† Part of the static state, i.e. if modified, the pipeline needs to be recreated.

Metadata

Metadata

Assignees

Labels

DX12 ❎The issue involves the DX12 backend.FeatureNew feature or request.Priority: MediumA issue with normal priority.Vulkan 🌋The issue involves the Vulkan backend.

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions