nngn
Loading...
Searching...
No Matches
nngn::StagingBuffer::FreeBuffer Struct Reference

Buffer in the free list, ready to be reused. More...

Inheritance diagram for nngn::StagingBuffer::FreeBuffer:
Collaboration diagram for nngn::StagingBuffer::FreeBuffer:

Public Attributes

u8 age = {}
 

Additional Inherited Members

- Public Member Functions inherited from nngn::DedicatedBuffer
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
 
- Public Member Functions inherited from nngn::detail::Buffer
VkBuffer id () const
 
VkDeviceSize size () const
 
VkDeviceSize capacity () const
 
void set_size (VkDeviceSize s)
 
- Protected Member Functions inherited from nngn::detail::Buffer
void set_capacity (VkDeviceSize c)
 
bool init (VkDevice dev, VkDeviceSize size, VkBufferUsageFlags usage)
 
bool alloc ()
 
void destroy ()
 
void destroy (VkDevice dev)
 

Detailed Description

Buffer in the free list, ready to be reused.

Member Data Documentation

◆ age

u8 nngn::StagingBuffer::FreeBuffer::age = {}

The documentation for this struct was generated from the following file: