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

Data for a single frame. More...

Public Member Functions

void release (VkDevice dev, std::vector< FreeBuffer > *free)
 
void destroy (VkDevice dev, DeviceMemory *dev_mem)
 

Public Attributes

std::vector< DedicatedBufferblocks = {}
 
void * mapped = {}
 
u32 n_reused = 0
 
u32 n_alloc = 0
 
u32 n_req_alloc = 0
 
u64 req_mem = 0
 

Detailed Description

Data for a single frame.

Member Function Documentation

◆ destroy()

void nngn::StagingBuffer::Frame::destroy ( VkDevice dev,
DeviceMemory * dev_mem )

◆ release()

void nngn::StagingBuffer::Frame::release ( VkDevice dev,
std::vector< FreeBuffer > * free )

Member Data Documentation

◆ blocks

std::vector<DedicatedBuffer> nngn::StagingBuffer::Frame::blocks = {}

◆ mapped

void* nngn::StagingBuffer::Frame::mapped = {}

◆ n_alloc

u32 nngn::StagingBuffer::Frame::n_alloc = 0

◆ n_req_alloc

u32 nngn::StagingBuffer::Frame::n_req_alloc = 0

◆ n_reused

u32 nngn::StagingBuffer::Frame::n_reused = 0

◆ req_mem

u64 nngn::StagingBuffer::Frame::req_mem = 0

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