DI-Guy SDK Documentation  13.5
diguyShadowMapParams Struct Reference

Lightweight structure for sending shadow parameters to shaders from DI-Guy Scenario note this maps directly to a uniform buffer structure please be careful with padding. More...

#include <diguyUniformBufferUpdater.h>

Public Member Functions

 diguyShadowMapParams ()
 

Public Attributes

int ufrm_shadows_active
 
float ufrm_shadow_map_size
 
float ufrm_shadow_map_radius
 
float ufrm_height_over_terrain
 
float ufrm_shadow_offset_multiplier
 

Detailed Description

Lightweight structure for sending shadow parameters to shaders from DI-Guy Scenario note this maps directly to a uniform buffer structure please be careful with padding.

This must match layout in shader library diguy_shared_library.glsl

Constructor & Destructor Documentation

diguyShadowMapParams::diguyShadowMapParams ( )
inline

Member Data Documentation

int diguyShadowMapParams::ufrm_shadows_active
float diguyShadowMapParams::ufrm_shadow_map_size
float diguyShadowMapParams::ufrm_shadow_map_radius
float diguyShadowMapParams::ufrm_height_over_terrain
float diguyShadowMapParams::ufrm_shadow_offset_multiplier

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