GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::Renderer3D::ScreenDepthBinParameters Struct Reference

Struct of shader parameters representing the depth bins of the screen. More...

#include <GREM/graphics_3d/Renderer3D.hpp>

Public Attributes

Array< u32vec4, MAX_DEPTH_BIN_COUNT > depthBins
 Depth bins, each containing the following data:

Static Public Attributes

static constexpr size_t MAX_DEPTH_BIN_COUNT = 1024
 Maximum number of depth bins.

Detailed Description

Struct of shader parameters representing the depth bins of the screen.

Member Data Documentation

◆ MAX_DEPTH_BIN_COUNT

size_t grem::graphics::Renderer3D::ScreenDepthBinParameters::MAX_DEPTH_BIN_COUNT = 1024
staticconstexpr

Maximum number of depth bins.

◆ depthBins

Array<u32vec4, MAX_DEPTH_BIN_COUNT> grem::graphics::Renderer3D::ScreenDepthBinParameters::depthBins

Depth bins, each containing the following data:

  • 32 bits: depthBinDecalsBegin
  • 32 bits: depthBinDecalsEnd
  • 32 bits: depthBinLightsBegin
  • 32 bits: depthBinLightsEnd

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