A buffer the CPU writes and the GPU reads (shared storage), and its handle for addresses.
More...
#include <gui_core/graphics/metal/metal_device.h>
A buffer the CPU writes and the GPU reads (shared storage), and its handle for addresses.
◆ Mapped()
| void * tachyon::metal::Buffer::Mapped |
( |
| ) |
const |
|
inline |
◆ Address()
| DeviceAddress tachyon::metal::Buffer::Address |
( |
size_t | offset | ) |
const |
|
inline |
◆ operator bool()
| tachyon::metal::Buffer::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ buffer
| id<MTLBuffer> tachyon::metal::Buffer::buffer = nil |
◆ handle
| uint32_t tachyon::metal::Buffer::handle = 0 |
◆ size
| size_t tachyon::metal::Buffer::size = 0 |
The documentation for this struct was generated from the following file: