|
| | GPUIndexBuffer ()=default |
| | Creates a new empty IndexBuffer.
|
| |
| | GPUIndexBuffer (GPUBufferPtr buffer, GPUBufferSize offset=0, IndexType indexType=IndexType::UInt32, GPUBufferSize length=GPUBuffer::whole) |
| | Creates a new IndexBuffer from an existing GPU buffer.
|
| |
| | GPUIndexBuffer (GPUBuffer &buffer, const GPUBufferSize offset=0, const IndexType indexType=IndexType::UInt32, const GPUBufferSize length=GPUBuffer::whole) |
| |
| | GPUIndexBuffer (GPUDevice &device, GPUBufferSize size, IndexType indexType=IndexType::UInt32, const GPUMemoryProperties &memoryProperty=GPUMemoryProperty::DeviceLocal, String name="") |
| | Creates a new IndexBuffer.
|
| |
| | GPUIndexBuffer (std::nullptr_t) |
| | Creates a new empty IndexBuffer.
|
| |
| | GPUIndexBuffer (const GPUIndexBuffer &)=default |
| | Creates a new IndexBuffer by copying another.
|
| |
| GPUIndexBuffer & | operator= (const GPUIndexBuffer &)=default |
| | Assigns the IndexBuffer by copying another.
|
| |
| | GPUIndexBuffer (GPUIndexBuffer &&)=default |
| | Creates a new IndexBuffer by moving another.
|
| |
| GPUIndexBuffer & | operator= (GPUIndexBuffer &&)=default |
| | Assigns a IndexBuffer by moving another.
|
| |
| | ~GPUIndexBuffer () |
| | Destroys the IndexBuffer.
|
| |
| IndexType | getIndexType () const noexcept |
| |
| | 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 |
| |