Kohi Game Engine
|
#include <renderer_types.h>
Data Fields | |
char * | name |
The name of the buffer, used for debugging purposes. More... | |
renderbuffer_type | type |
The type of buffer, which typically determines its use. More... | |
u64 | total_size |
The total size of the buffer in bytes. More... | |
renderbuffer_track_type | track_type |
indicates the allocation tracking type. More... | |
u64 | freelist_memory_requirement |
The amount of memory required to store the freelist. 0 if not used. More... | |
freelist | buffer_freelist |
The buffer freelist, if used. More... | |
void * | freelist_block |
The freelist memory block, if needed. More... | |
void * | internal_data |
Contains internal data for the renderer-API-specific buffer. More... | |
u64 | offset |
The byte offset used for linear tracking. More... | |
renderbuffer_queued_deletion * | delete_queue |
Queue of ranges to be deleted in this buffer. This is to ensure that the data isn't being used before being marked as free and potentially overwritten. Used for all buffer types, including those without tracking. Zeroed out if the queue is cleared. More... | |
freelist buffer_freelist |
The buffer freelist, if used.
renderbuffer_queued_deletion* delete_queue |
Queue of ranges to be deleted in this buffer. This is to ensure that the data isn't being used before being marked as free and potentially overwritten. Used for all buffer types, including those without tracking. Zeroed out if the queue is cleared.
void* freelist_block |
The freelist memory block, if needed.
u64 freelist_memory_requirement |
The amount of memory required to store the freelist. 0 if not used.
void* internal_data |
Contains internal data for the renderer-API-specific buffer.
char* name |
The name of the buffer, used for debugging purposes.
u64 offset |
The byte offset used for linear tracking.
u64 total_size |
The total size of the buffer in bytes.
renderbuffer_track_type track_type |
indicates the allocation tracking type.
renderbuffer_type type |
The type of buffer, which typically determines its use.