Kohi Game Engine
geometry_render_data Struct Reference

#include <renderer_types.h>

Data Fields

mat4 model
 
material_instance material
 
u32 draw_id
 
u64 unique_id
 
b8 winding_inverted
 
vec4 diffuse_colour
 
u32 vertex_count
 The vertex count. More...
 
u32 vertex_element_size
 The size of each vertex. More...
 
u64 vertex_buffer_offset
 The offset from the beginning of the vertex buffer. More...
 
u32 index_count
 The index count. More...
 
u32 index_element_size
 The size of each index. More...
 
u64 index_buffer_offset
 The offset from the beginning of the index buffer. More...
 
u32 ibl_probe_index
 The index of the IBL probe to use. More...
 

Field Documentation

◆ diffuse_colour

vec4 diffuse_colour

◆ draw_id

u32 draw_id

◆ ibl_probe_index

u32 ibl_probe_index

The index of the IBL probe to use.

◆ index_buffer_offset

u64 index_buffer_offset

The offset from the beginning of the index buffer.

◆ index_count

u32 index_count

The index count.

◆ index_element_size

u32 index_element_size

The size of each index.

◆ material

◆ model

mat4 model

◆ unique_id

u64 unique_id

◆ vertex_buffer_offset

u64 vertex_buffer_offset

The offset from the beginning of the vertex buffer.

◆ vertex_count

u32 vertex_count

The vertex count.

◆ vertex_element_size

u32 vertex_element_size

The size of each vertex.

◆ winding_inverted

b8 winding_inverted

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