ludus::graphics::rhi::NativeComputeBuffer¶
Ludus Wiki · API overview · Browse API
Struct
Borrowed native storage descriptor supplied to Prepare. Metal uses id<MTLBuffer>. The immutable binding snapshot retains the allocation through pipeline/GPU retirement.
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/native_compute.h
#include <ludus/graphics/rhi/native_compute.h>
struct ludus::graphics::rhi::NativeComputeBuffer final
Fields¶
ObjectOrNull¶
void* ludus::graphics::rhi::NativeComputeBuffer::ObjectOrNull = nullptr
Native buffer; never destroy or retain as a Ludus resource.
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/native_compute.h
Offset¶
foundation::usize ludus::graphics::rhi::NativeComputeBuffer::Offset = 0
First bound byte.
Related types: foundation::usize
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/native_compute.h
Size¶
foundation::usize ludus::graphics::rhi::NativeComputeBuffer::Size = 0
Bound byte count.
Related types: foundation::usize
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/native_compute.h