Kohi Game Engine
frame_data Struct Reference

Engine-level current frame-specific data. More...

#include <frame_data.h>

Data Fields

u32 drawn_mesh_count
 The number of meshes drawn in the last frame. More...
 
u32 drawn_shadow_mesh_count
 The number of meshes drawn in the shadow pass in the last frame. More...
 
frame_allocator_int allocator
 An allocator designed and used for per-frame allocations. More...
 
void * application_frame_data
 Application level frame specific data. Optional, up to the app to know how to use this if needed. More...
 

Detailed Description

Engine-level current frame-specific data.

Field Documentation

◆ allocator

An allocator designed and used for per-frame allocations.

◆ application_frame_data

void* application_frame_data

Application level frame specific data. Optional, up to the app to know how to use this if needed.

◆ drawn_mesh_count

u32 drawn_mesh_count

The number of meshes drawn in the last frame.

◆ drawn_shadow_mesh_count

u32 drawn_shadow_mesh_count

The number of meshes drawn in the shadow pass in the last frame.


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