Skip to documentation
SLOP

tiny.gpu.RenderArtifactFormatSet

Reference tiny.gpu RenderArtifactFormatSet

Defined in contract.

API (4)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

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

zig
pub const RenderArtifactFormatSet = struct {    bits: u64 = 0,    pub fn init(values: []const RenderArtifactFormat) RenderArtifactFormatSet {        var set: RenderArtifactFormatSet = .{};        for (values) |value| set.insert(value);        return set;    }    pub fn insert(self: *RenderArtifactFormatSet, value: RenderArtifactFormat) void {        self.bits |= bitForRenderArtifactFormat(value);    }    pub fn contains(self: RenderArtifactFormatSet, value: RenderArtifactFormat) bool {        return (self.bits & bitForRenderArtifactFormat(value)) != 0;    }};

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

zig
pub const RenderArtifactFormatSet = contract.RenderArtifactFormatSet;
Called byCallsRasterCapabilitiessupportsArtifactFormatprivate sourcelib.gpu.src.contractbitForRenderArtifactFormatRenderArtifactFormatSetcontains
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsprivate sourcelib.gpu.src.contractfakeQueryCapabilitiestest sourcelib.gpu.src.contracttest: capabilities bound push constan...test sourcelib.gpu.src.contracttest: capabilities validate render pi...RenderArtifactFormatSetinsertRenderArtifactFormatSetinit
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsRenderArtifactFormatSetinitprivate sourcelib.gpu.src.contractbitForRenderArtifactFormatRenderArtifactFormatSetinsert
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions4
Public names8
Members1
Version26.7.0
Revisiondaab053ee433