Kohi Game Engine
viewport Struct Reference

#include <viewport.h>

Data Fields

rect_2d rect
 the dimensions of this viewport, x/y position, z/w are width/height. More...
 
f32 fov
 
f32 near_clip
 
f32 far_clip
 
renderer_projection_matrix_type projection_matrix_type
 
mat4 projection
 

Field Documentation

◆ far_clip

f32 far_clip

◆ fov

f32 fov

◆ near_clip

f32 near_clip

◆ projection

mat4 projection

◆ projection_matrix_type

renderer_projection_matrix_type projection_matrix_type

◆ rect

rect_2d rect

the dimensions of this viewport, x/y position, z/w are width/height.


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