|
Blender V5.3
|
#include <mtl_memory.hh>
Public Member Functions | |
MTLBuffer wrapper class implementation. | |
| void | flush () |
| bool | requires_flush () |
Public Attributes | |
| id< MTLBuffer > | metal_buffer |
| void * | data |
| uint64_t | buffer_offset |
| uint64_t | size |
| MTLResourceOptions | options |
Definition at line 195 of file mtl_memory.hh.
| void blender::gpu::MTLBufferRange::flush | ( | ) |
Definition at line 869 of file mtl_memory.mm.
References blender::BLI_assert(), buffer_offset, length(), metal_buffer, requires_flush(), and size.
| bool blender::gpu::MTLBufferRange::requires_flush | ( | ) |
Definition at line 863 of file mtl_memory.mm.
Referenced by flush().
| uint64_t blender::gpu::MTLBufferRange::buffer_offset |
Definition at line 198 of file mtl_memory.hh.
Referenced by blender::gpu::MTLCircularBuffer::allocate_range_aligned(), blender::gpu::MTLBindingCache< CommandEncoderT >::bind_bytes(), blender::gpu::MTLImmediate::end(), flush(), blender::gpu::MTLIndexBuf::update_sub(), and blender::gpu::MTLVertBuf::update_sub().
| void* blender::gpu::MTLBufferRange::data |
Definition at line 197 of file mtl_memory.hh.
Referenced by blender::gpu::MTLCircularBuffer::allocate_range_aligned(), blender::gpu::MTLBindingCache< CommandEncoderT >::bind_bytes(), blender::gpu::MTLImmediate::end(), blender::gpu::MTLIndexBuf::update_sub(), and blender::gpu::MTLVertBuf::update_sub().
Definition at line 196 of file mtl_memory.hh.
Referenced by blender::gpu::MTLCircularBuffer::allocate_range_aligned(), blender::gpu::MTLBindingCache< CommandEncoderT >::bind_bytes(), blender::gpu::MTLImmediate::end(), flush(), blender::gpu::MTLScratchBufferManager::scratch_buffer_allocate_range_aligned(), blender::gpu::MTLIndexBuf::update_sub(), and blender::gpu::MTLVertBuf::update_sub().
| MTLResourceOptions blender::gpu::MTLBufferRange::options |
Definition at line 200 of file mtl_memory.hh.
Referenced by blender::gpu::MTLCircularBuffer::allocate_range_aligned().
| uint64_t blender::gpu::MTLBufferRange::size |
Definition at line 199 of file mtl_memory.hh.
Referenced by blender::gpu::MTLCircularBuffer::allocate_range_aligned(), flush(), and blender::gpu::MTLScratchBufferManager::scratch_buffer_allocate_range_aligned().