Nameless Engine
Loading...
Searching...
No Matches
ne::EngineShaders::ForwardPlus Struct Reference

#include <EngineShaders.hpp>

Static Public Member Functions

static ShaderDescription getCalculateGridFrustumComputeShader (bool bIsHlsl)
 
static ShaderDescription getPrepareLightCullingComputeShader (bool bIsHlsl)
 
static ShaderDescription getLightCullingComputeShader (bool bIsHlsl)
 

Detailed Description

Groups shaders used in light culling process.

Member Function Documentation

◆ getCalculateGridFrustumComputeShader()

static ShaderDescription ne::EngineShaders::ForwardPlus::getCalculateGridFrustumComputeShader ( bool  bIsHlsl)
inlinestatic

Returns a compute shader description for a shader that calculates a frustum for a light grid tile that will be used in light culling.

Parameters
bIsHlsltrue to construct a path to the HLSL file, false to GLSL.
Returns
Shader description.

◆ getLightCullingComputeShader()

static ShaderDescription ne::EngineShaders::ForwardPlus::getLightCullingComputeShader ( bool  bIsHlsl)
inlinestatic

Returns a compute shader description for a shader that does light culling.

Parameters
bIsHlsltrue to construct a path to the HLSL file, false to GLSL.
Returns
Shader description.

◆ getPrepareLightCullingComputeShader()

static ShaderDescription ne::EngineShaders::ForwardPlus::getPrepareLightCullingComputeShader ( bool  bIsHlsl)
inlinestatic

Returns a compute shader description for a shader that resets global counts for light culling shader.

Parameters
bIsHlsltrue to construct a path to the HLSL file, false to GLSL.
Returns
Shader description.

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