tiny.gpu.RenderDepthState
Defined in contract.
A pipeline's depth test.
API (4)
Fields and members
Public fields and members.
Source
Source: lib/gpu/src/contract.zig:427
zig
/// A pipeline's depth test. Its draws need a pass whose depth attachment has `format`. A fragment/// that fails `compare` is discarded, and one that passes writes its depth when `write` is set.pub const RenderDepthState = struct { format: TextureFormat = .depth32_float, compare: RenderCompare = .less, write: bool = true, bias: RenderDepthBias = .{},};Source: lib/gpu/src/root.zig:138
zig
pub const RenderDepthState = contract.RenderDepthState;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |