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.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 6 |
| Version | 26.7.0 |
| Revision | daab053ee433 |