SLOP
tiny.gpu.TextureFormatSet
Reference › tiny.gpu › TextureFormatSet
Defined in contract.
API (4)
Actions
Public operations.
Fields and members
Public fields and members.
Static calls · unresolved targets: unknown · external targets: unknown.
Source
Source: lib/gpu/src/contract.zig:616
1pub const TextureFormatSet = struct {2 bits: u64 = 0,34 pub fn init(values: []const TextureFormat) TextureFormatSet {5 var set: TextureFormatSet = .{};6 for (values) |value| set.insert(value);7 return set;8 }910 pub fn insert(self: *TextureFormatSet, value: TextureFormat) void {11 self.bits |= bitForTextureFormat(value);12 }1314 pub fn contains(self: TextureFormatSet, value: TextureFormat) bool {15 return (self.bits & bitForTextureFormat(value)) != 0;16 }17};
Source: lib/gpu/src/root.zig:77
1pub const TextureFormatSet = contract.TextureFormatSet;
Static calls · unresolved targets: 0 · external targets: 0.
Static calls · unresolved targets: 0 · external targets: 0.
Static calls · unresolved targets: 0 · external targets: 0.
Audit
| Definitions | 4 |
|---|
| Public names | 8 |
|---|
| Members | 1 |
|---|
| Version | 26.7.0 |
|---|
| Revision | daab053ee433 |
|---|