Skip to documentation
SLOP

tiny.gpu.RenderDepthState

Reference tiny.gpu RenderDepthState

Defined in contract.

A pipeline's depth test.

API (4)

Fields and members

Public fields and members.

No direct callersNo direct callscontractRenderDepthState
Static calls · unresolved targets: unknown · external targets: unknown.

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

Definitions1
Public names2
Members4
Version26.7.0
Revisiondaab053ee433