Kohi Game Engine
queue Struct Reference

A simple queue container. Elements are popped off the queue in the same order they were pushed to it. More...

#include <queue.h>

Data Fields

u32 element_size
 The element size in bytes. More...
 
u32 element_count
 The current element count. More...
 
u32 allocated
 The total amount of currently-allocated memory. More...
 
void * memory
 The allocated memory block. More...
 

Detailed Description

A simple queue container. Elements are popped off the queue in the same order they were pushed to it.

Field Documentation

◆ allocated

u32 allocated

The total amount of currently-allocated memory.

◆ element_count

u32 element_count

The current element count.

◆ element_size

u32 element_size

The element size in bytes.

◆ memory

void* memory

The allocated memory block.


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