#include <EngineShaderConstantMacros.hpp>
Groups macros used in Forward+ light culling process.
◆ getAveragePointLightNumPerTileMacro()
static std::pair< std::string, std::string > ne::EngineShaderConstantMacros::ForwardPlus::getAveragePointLightNumPerTileMacro |
( |
| ) |
|
|
inlinestatic |
Returns a macro that defines how much point lights are expected to be on average in a light grid tile for opaque or transparent geometry.
- Returns
- Macro name and macro value.
◆ getAverageSpotLightNumPerTileMacro()
static std::pair< std::string, std::string > ne::EngineShaderConstantMacros::ForwardPlus::getAverageSpotLightNumPerTileMacro |
( |
| ) |
|
|
inlinestatic |
Returns a macro that defines how much spotlights are expected to be on average in a light grid tile for opaque or transparent geometry.
- Returns
- Macro name and macro value.
◆ getLightGridTileSizeMacro()
static std::pair< std::string, std::string > ne::EngineShaderConstantMacros::ForwardPlus::getLightGridTileSizeMacro |
( |
| ) |
|
|
inlinestatic |
Returns a macro that defines how much threads should be executed in the X and the Y dimensions for compute shader that calculates frustums for light grid tiles.
- Returns
- Macro name and macro value.
The documentation for this struct was generated from the following file: