Vulkan2D
2D renderer written in C using Vulkan and SDL2
Loading...
Searching...
No Matches
nk_buffer Struct Reference
Collaboration diagram for nk_buffer:

Data Fields

struct nk_buffer_marker marker [NK_BUFFER_MAX]
 
struct nk_allocator pool
 
enum nk_allocation_type type
 
struct nk_memory memory
 
float grow_factor
 
nk_size allocated
 
nk_size needed
 
nk_size calls
 
nk_size size
 

Field Documentation

◆ allocated

nk_size nk_buffer::allocated

!< growing factor for dynamic memory management

◆ calls

nk_size nk_buffer::calls

!< totally consumed memory given that enough memory is present

◆ grow_factor

float nk_buffer::grow_factor

!< memory and size of the current memory block

◆ memory

struct nk_memory nk_buffer::memory

!< memory management type

◆ needed

nk_size nk_buffer::needed

!< total amount of memory allocated

◆ pool

struct nk_allocator nk_buffer::pool

!< buffer marker to free a buffer to a certain offset

◆ size

nk_size nk_buffer::size

!< number of allocation calls

◆ type

enum nk_allocation_type nk_buffer::type

!< allocator callback for dynamic buffers


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