Buffer in the free list, ready to be reused.
More...
|
VkDeviceMemory | mem () const |
|
template<VkMemoryPropertyFlags f> |
bool | init (VkDevice dev, DeviceMemory *dev_mem, VkDeviceSize size, VkBufferUsageFlags usage) |
|
void | destroy (VkDevice dev, DeviceMemory *dev_mem) |
|
void | memcpy (VkDevice dev, VkDeviceSize off, std::span< const std::byte > s) const |
|
void | fill (VkDevice dev, VkDeviceSize off, VkDeviceSize n, VkDeviceSize stride, std::span< const std::byte > s) const |
|
VkBuffer | id () const |
|
VkDeviceSize | size () const |
|
VkDeviceSize | capacity () const |
|
void | set_size (VkDeviceSize s) |
|
void | set_capacity (VkDeviceSize c) |
|
bool | init (VkDevice dev, VkDeviceSize size, VkBufferUsageFlags usage) |
|
bool | alloc () |
|
void | destroy () |
|
void | destroy (VkDevice dev) |
|
Buffer in the free list, ready to be reused.
◆ age
u8 nngn::StagingBuffer::FreeBuffer::age = {} |
The documentation for this struct was generated from the following file: