Skip to documentation
SLOP

tiny.gpu.RenderIndexFormatSet

Reference tiny.gpu RenderIndexFormatSet

Defined in contract.

API (4)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

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

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

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

zig
pub const RenderIndexFormatSet = contract.RenderIndexFormatSet;
Called byCallsRasterCapabilitiessupportsIndexFormatprivate sourcelib.gpu.src.contractbitForRenderIndexFormatRenderIndexFormatSetcontains
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...RenderIndexFormatSetinsertRenderIndexFormatSetinit
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsRenderIndexFormatSetinitprivate sourcelib.gpu.src.contractbitForRenderIndexFormatRenderIndexFormatSetinsert
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions4
Public names8
Members1
Version26.7.0
Revisiondaab053ee433