Skip to documentation
SLOP

tiny.gpu.LoadedRenderArtifact

Reference tiny.gpu LoadedRenderArtifact

Defined in contract.

A pipeline ready to draw, with the facts a pass checks its draws against.

API (9)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

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

zig
/// A pipeline ready to draw, with the facts a pass checks its draws against.pub const LoadedRenderArtifact = struct {    id: BackendObjectId,    backend: BackendKind,    format: RenderArtifactFormat,    target_format: TextureFormat,    depth: ?RenderDepthState = null,    vertex_buffer_count: u32 = 0,    binding_count: u32 = 0,    push_constant_bytes: u32 = 0,    /// The facts a backend must report for a pipeline it loaded from `artifact`.    pub fn describing(artifact: *const RenderArtifact, id: BackendObjectId) LoadedRenderArtifact {        return .{            .id = id,            .backend = artifact.backend,            .format = artifact.format,            .target_format = artifact.target_format,            .depth = artifact.depth,            .vertex_buffer_count = @intCast(artifact.vertex_layouts.len),            .binding_count = @intCast(artifact.bindings.len),            .push_constant_bytes = artifact.push_constant_bytes,        };    }};

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

zig
pub const LoadedRenderArtifact = contract.LoadedRenderArtifact;
Called byCallsNo direct callsBackendHandleloadRenderArtifactprivate sourcelib.gpu.src.contractfakeLoadRenderArtifacttest sourcelib.gpu.src.contracttest: capabilities bound push constan...test sourcelib.gpu.src.contracttest: capabilities validate render pi...LoadedRenderArtifactdescribing
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions2
Public names4
Members8
Version26.7.0
Revisiondaab053ee433