Skip to documentation
SLOP

tiny.gpu.RenderPass

Reference tiny.gpu RenderPass

Defined in contract.

Draws into one color target and an optional depth target, in order.

API (6)

Fields and members

Public fields and members.

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

Source

Source: lib/gpu/src/contract.zig:550

zig
/// Draws into one color target and an optional depth target, in order. Every draw's pipeline/// targets the color format, and a pipeline with a depth state needs the depth attachment. A clear/// covers the whole target, whatever the scissor, and draws touch only pixels inside the scissor.pub const RenderPass = struct {    color: RenderColorAttachment,    depth: ?RenderDepthAttachment = null,    viewport: RenderViewport,    scissor: RenderScissor,    draws: []const RenderDraw,    diagnostic_id: ?[]const u8 = null,};

Source: lib/gpu/src/root.zig:153

zig
pub const RenderPass = contract.RenderPass;

Audit

Definitions1
Public names2
Members6
Version26.7.0
Revisiondaab053ee433