Kohi Game Engine
renderpass Struct Reference

Represents a generic renderpass. More...

#include <renderer_types.h>

Data Fields

u16 id
 The id of the renderpass. More...
 
char * name
 
vec4 render_area
 The current render area of the renderpass. More...
 
vec4 clear_colour
 The clear colour used for this renderpass. More...
 
u8 clear_flags
 The clear flags for this renderpass. More...
 
u8 render_target_count
 The number of render targets for this renderpass. More...
 
render_targettargets
 An array of render targets used by this renderpass. More...
 
void * internal_data
 Internal renderpass data. More...
 

Detailed Description

Represents a generic renderpass.

Field Documentation

◆ clear_colour

vec4 clear_colour

The clear colour used for this renderpass.

◆ clear_flags

u8 clear_flags

The clear flags for this renderpass.

◆ id

u16 id

The id of the renderpass.

◆ internal_data

void* internal_data

Internal renderpass data.

◆ name

char* name

◆ render_area

vec4 render_area

The current render area of the renderpass.

◆ render_target_count

u8 render_target_count

The number of render targets for this renderpass.

◆ targets

render_target* targets

An array of render targets used by this renderpass.


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