libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Unique resource handle with exclusive ownership of a GPU memory buffer. More...
#include <donut/graphics/Buffer.hpp>
Public Member Functions | |
Buffer () | |
Create a new empty GPU memory buffer resource. More... | |
Handle | get () const noexcept |
Get an opaque handle to the GPU representation of the buffer. More... | |
Unique resource handle with exclusive ownership of a GPU memory buffer.
donut::graphics::Buffer::Buffer | ( | ) |
Create a new empty GPU memory buffer resource.
graphics::Error | on failure to create the buffer object. |
|
inlinenoexcept |
Get an opaque handle to the GPU representation of the buffer.