![]() |
DI-Guy SDK Documentation
13.2
|
This struct is passed into diguyGraphicsShaderTechnique::pick_shader_program() to provide the end user information to base the resulting shader choice. More...
#include <diguyGraphicsShaderTechnique.h>
Public Member Functions | |
| diguyShaderPickDescription () | |
Public Attributes | |
| int | m_current_render_pass |
| which pass is currently being rendered opaque objects == 0 objects with transparency == 1 More... | |
| int | m_current_render_flags |
| a list of diguyRenderPassFlags ored together More... | |
| int | m_shader_lod |
| the current specified shader level of detail, -1 indicates to use m_render_distance for picking. More... | |
| float | m_render_distance |
| the distance from the object to the camera More... | |
| float | m_shader_lod_bias |
| a multiplier to use on the distance to camera More... | |
| int | m_max_quality_level |
| typically this will either be DIGUY_GRAPHICS_SHADER_QUALITY_PER_PIXEL or DIGUY_GRAPHICS_SHADER_QUALITY_PER_PIXEL_BUMP_MAPPED based on the appearance unless end users have changed diguyCharacter::set_max_shader_quality_level() More... | |
| int | m_num_active_point_lights |
| Number of additional point lights. Set by diguyScenario::set_num_active_point_lights(). More... | |
| const char * | m_custom_shader_program |
| bool | m_use_instancing |
| Use a shader that supports instancing. More... | |
| diguyGraphicsShaderInstance * | m_shader_instance |
| The pointer to the current shader instance, allows access to the currently draw character object. More... | |
This struct is passed into diguyGraphicsShaderTechnique::pick_shader_program() to provide the end user information to base the resulting shader choice.
|
inline |
| int diguyShaderPickDescription::m_current_render_pass |
which pass is currently being rendered opaque objects == 0 objects with transparency == 1
| int diguyShaderPickDescription::m_current_render_flags |
a list of diguyRenderPassFlags ored together
| int diguyShaderPickDescription::m_shader_lod |
the current specified shader level of detail, -1 indicates to use m_render_distance for picking.
| float diguyShaderPickDescription::m_render_distance |
the distance from the object to the camera
| float diguyShaderPickDescription::m_shader_lod_bias |
a multiplier to use on the distance to camera
| int diguyShaderPickDescription::m_max_quality_level |
typically this will either be DIGUY_GRAPHICS_SHADER_QUALITY_PER_PIXEL or DIGUY_GRAPHICS_SHADER_QUALITY_PER_PIXEL_BUMP_MAPPED based on the appearance unless end users have changed diguyCharacter::set_max_shader_quality_level()
| int diguyShaderPickDescription::m_num_active_point_lights |
Number of additional point lights. Set by diguyScenario::set_num_active_point_lights().
| const char* diguyShaderPickDescription::m_custom_shader_program |
| bool diguyShaderPickDescription::m_use_instancing |
Use a shader that supports instancing.
| diguyGraphicsShaderInstance* diguyShaderPickDescription::m_shader_instance |
The pointer to the current shader instance, allows access to the currently draw character object.