|
| | GPUBindlessBuffer ()=default |
| | Creates a new empty BindlessBuffer.
|
| |
| | GPUBindlessBuffer (GPUBufferPtr buffer, GPUBufferSize offset=0, GPUBufferSize length=GPUBuffer::whole) |
| | Creates a new BindlessBuffer from an existing GPU buffer.
|
| |
| | GPUBindlessBuffer (GPUBuffer &buffer, const GPUBufferSize offset=0, const GPUBufferSize length=GPUBuffer::whole) |
| |
| | GPUBindlessBuffer (GPUDevice &device, GPUBufferSize size, const GPUMemoryProperties &memoryProperty=GPUMemoryProperty::DeviceLocal, String name="") |
| | Creates a new BindlessBuffer.
|
| |
| | GPUBindlessBuffer (std::nullptr_t) |
| | Creates a new empty BindlessBuffer.
|
| |
| | GPUBindlessBuffer (const GPUBindlessBuffer &)=default |
| | Creates a new BindlessBuffer by copying another.
|
| |
| GPUBindlessBuffer & | operator= (const GPUBindlessBuffer &)=default |
| | Assigns the BindlessBuffer by copying another.
|
| |
| | GPUBindlessBuffer (GPUBindlessBuffer &&)=default |
| | Creates a new BindlessBuffer by moving another.
|
| |
| GPUBindlessBuffer & | operator= (GPUBindlessBuffer &&)=default |
| | Assigns a BindlessBuffer by moving another.
|
| |
| | ~GPUBindlessBuffer () |
| | Destroys the BindlessBuffer.
|
| |
| | GPUBufferObject ()=default |
| | Creates a new empty BufferObject.
|
| |
| | GPUBufferObject (GPUBufferPtr buffer, GPUBufferSize offset=0, GPUBufferSize length=GPUBuffer::whole) |
| | Creates a new BufferObject from an existing GPU buffer.
|
| |
| | GPUBufferObject (GPUBuffer &buffer, const GPUBufferSize offset=0, const GPUBufferSize length=GPUBuffer::whole) |
| |
| | GPUBufferObject (GPUDevice &device, const GPUBufferDescriptor &descriptor) |
| | Creates a new BufferObject.
|
| |
| | GPUBufferObject (std::nullptr_t) |
| | Creates a new empty BufferObject.
|
| |
| GPUBufferObject & | operator= (std::nullptr_t) |
| | Assigns the BufferObject an empty value.
|
| |
| | GPUBufferObject (const GPUBufferObject &)=default |
| | Creates a new BufferObject by copying another.
|
| |
| GPUBufferObject & | operator= (const GPUBufferObject &)=default |
| | Assigns the BufferObject by copying another.
|
| |
| | GPUBufferObject (GPUBufferObject &&)=default |
| | Creates a new BufferObject by moving another.
|
| |
| GPUBufferObject & | operator= (GPUBufferObject &&)=default |
| | Assigns a BufferObject by moving another.
|
| |
| | ~GPUBufferObject () |
| | Destroys the BufferObject.
|
| |
| void | flush (GPUBufferSize offset=0, GPUBufferSize size=GPUBuffer::whole) |
| | Flushes the cached memory data starting at offset with size bytes.
|
| |
| void | invalidate (GPUBufferSize offset=0, GPUBufferSize size=GPUBuffer::whole) |
| | Invalidates the cached memory data starting at offset with size bytes.
|
| |
| GPUBufferPtr | getBuffer () const noexcept |
| |
| GPUBufferSize | getOffset () const noexcept |
| |
| GPUBufferSize | getLength () const noexcept |
| |
| | operator bool () const noexcept |
| |
A GPU bindless buffer.
It is a special buffer that is usable both as a uniform buffer and as a storage buffer.