1 #ifndef DONUT_GRAPHICS_BUFFER_HPP
2 #define DONUT_GRAPHICS_BUFFER_HPP
36 struct BufferDeleter {
37 void operator()(
Handle handle)
const noexcept;
constexpr Handle get() const noexcept
Get the value of the underlying resource handle.
Definition: UniqueHandle.hpp:152
Unique resource handle with exclusive ownership of a GPU memory buffer.
Definition: Buffer.hpp:12
Handle get() const noexcept
Get an opaque handle to the GPU representation of the buffer.
Definition: Buffer.hpp:31
Buffer()
Create a new empty GPU memory buffer resource.
std::uint32_t Handle
Generic GPU resource handle.
Definition: Handle.hpp:11