Skip to documentation
SLOP

tiny.gpu.RenderVertexFormatSet

Reference tiny.gpu RenderVertexFormatSet

Defined in contract.

API (4)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

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

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

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

zig
pub const RenderVertexFormatSet = contract.RenderVertexFormatSet;
Called byCallsRasterCapabilitiessupportsVertexFormatprivate sourcelib.gpu.src.contractbitForRenderVertexFormatRenderVertexFormatSetcontains
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsprivate sourcelib.gpu.src.contractfakeQueryCapabilitiestest sourcelib.gpu.src.contracttest: capabilities validate render pi...RenderVertexFormatSetinsertRenderVertexFormatSetinit
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsRenderVertexFormatSetinitprivate sourcelib.gpu.src.contractbitForRenderVertexFormatRenderVertexFormatSetinsert
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions4
Public names8
Members1
Version26.7.0
Revisiondaab053ee433