Skip to documentation
SLOP

tiny.gpu.BufferHandle

Reference 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.

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

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

Definitions1
Public names2
Members4
Version26.7.0
Revisiondaab053ee433