|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Struct of shader parameters representing the current screen. More...
#include <GREM/graphics_3d/Renderer3D.hpp>
Public Attributes | |
| vec2 | screenViewportOffset |
| Viewport offset in pixels. | |
| float | screenFramebufferHeight |
| Framebuffer height in pixels. | |
| float | screenInverseTileSize |
| Inverse of tile size. | |
| u32vec2 | screenTileCounts |
| Tile counts along the X/Y axes. | |
| uint32_t | screenDepthBinCount |
| Depth bin count along the Z axis. | |
| sampler2DArrayShadow | screenCascadedShadowMaps |
| Sampler for the depth texture array representing the cascaded 2D shadow maps of sun/directional lights. | |
| samplerCubeArrayShadow | screenPointLightShadowMaps |
| Sampler for the depth texture array representing the cube shadow maps of point lights. | |
| sampler2DArrayShadow | screenSpotLightShadowMaps |
| Sampler for the depth texture array representing the 2D shadow maps of spot lights. | |
| uint32_t | screenGlobalLightCount |
| Number of global lights at the beginning of the light buffer. | |
Struct of shader parameters representing the current screen.
| float grem::graphics::Renderer3D::ScreenParameters::screenFramebufferHeight |
Framebuffer height in pixels.
| float grem::graphics::Renderer3D::ScreenParameters::screenInverseTileSize |
Inverse of tile size.
| u32vec2 grem::graphics::Renderer3D::ScreenParameters::screenTileCounts |
Tile counts along the X/Y axes.
| uint32_t grem::graphics::Renderer3D::ScreenParameters::screenDepthBinCount |
Depth bin count along the Z axis.
| sampler2DArrayShadow grem::graphics::Renderer3D::ScreenParameters::screenCascadedShadowMaps |
Sampler for the depth texture array representing the cascaded 2D shadow maps of sun/directional lights.
| samplerCubeArrayShadow grem::graphics::Renderer3D::ScreenParameters::screenPointLightShadowMaps |
Sampler for the depth texture array representing the cube shadow maps of point lights.
| sampler2DArrayShadow grem::graphics::Renderer3D::ScreenParameters::screenSpotLightShadowMaps |
Sampler for the depth texture array representing the 2D shadow maps of spot lights.
| uint32_t grem::graphics::Renderer3D::ScreenParameters::screenGlobalLightCount |
Number of global lights at the beginning of the light buffer.