Nuklear
Minimal-state, immediate-mode graphical user interface toolkit written in ANSI C.
 
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
 !< buffer marker to free a buffer to a certain offset
 
enum nk_allocation_type type
 !< allocator callback for dynamic buffers
 
struct nk_memory memory
 !< memory management type
 
float grow_factor
 !< memory and size of the current memory block
 
nk_size allocated
 !< growing factor for dynamic memory management
 
nk_size needed
 !< total amount of memory allocated
 
nk_size calls
 !< totally consumed memory given that enough memory is present
 
nk_size size
 !< number of allocation calls
 

Detailed Description

Definition at line 4232 of file nuklear.h.

Field Documentation

◆ allocated

nk_size nk_buffer::allocated

!< growing factor for dynamic memory management

Definition at line 4238 of file nuklear.h.

◆ calls

nk_size nk_buffer::calls

!< totally consumed memory given that enough memory is present

Definition at line 4240 of file nuklear.h.

◆ grow_factor

float nk_buffer::grow_factor

!< memory and size of the current memory block

Definition at line 4237 of file nuklear.h.

◆ marker

struct nk_buffer_marker nk_buffer::marker[NK_BUFFER_MAX]

Definition at line 4233 of file nuklear.h.

◆ memory

struct nk_memory nk_buffer::memory

!< memory management type

Definition at line 4236 of file nuklear.h.

◆ needed

nk_size nk_buffer::needed

!< total amount of memory allocated

Definition at line 4239 of file nuklear.h.

◆ pool

struct nk_allocator nk_buffer::pool

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

Definition at line 4234 of file nuklear.h.

◆ size

nk_size nk_buffer::size

!< number of allocation calls

Definition at line 4241 of file nuklear.h.

◆ type

enum nk_allocation_type nk_buffer::type

!< allocator callback for dynamic buffers

Definition at line 4235 of file nuklear.h.