tiny.gpu.BufferHandle
Defined in contract.
A caller holds this value to name one device buffer in later transfers and launches.
API (4)
Fields and members
Public fields and members.
Source
Source: lib/gpu/src/contract.zig:1633
zig
/// A caller holds this value to name one device buffer in later transfers and launches. The value/// names one buffer by id, with its backend, its size in bytes and who owns its memory. The backend/// handle that created the buffer owns the id until the caller passes it to `destroyObject`.pub const BufferHandle = struct { id: BackendObjectId, backend: BackendKind, byte_size: usize, ownership: BufferOwnership,};Source: lib/gpu/src/root.zig:110
zig
pub const BufferHandle = contract.BufferHandle;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |