Nameless Engine
Loading...
Searching...
No Matches
ne::LightingShaderResourceManager::LightArrays Struct Reference

Public Attributes

std::unique_ptr< ShaderLightArraypPointLightDataArray
 
std::unique_ptr< ShaderLightArraypDirectionalLightDataArray
 
std::unique_ptr< ShaderLightArraypSpotlightDataArray
 
std::unique_ptr< ShaderLightArraypShadowPassLightInfoArray
 

Detailed Description

Groups GPU resources that store arrays of light sources.

Member Data Documentation

◆ pDirectionalLightDataArray

std::unique_ptr<ShaderLightArray> ne::LightingShaderResourceManager::LightArrays::pDirectionalLightDataArray

Stores data of all spawned directional lights.

◆ pPointLightDataArray

std::unique_ptr<ShaderLightArray> ne::LightingShaderResourceManager::LightArrays::pPointLightDataArray

Stores data of all spawned point lights.

◆ pShadowPassLightInfoArray

std::unique_ptr<ShaderLightArray> ne::LightingShaderResourceManager::LightArrays::pShadowPassLightInfoArray

Light info for all spawned lights, used in shadow pass.

◆ pSpotlightDataArray

std::unique_ptr<ShaderLightArray> ne::LightingShaderResourceManager::LightArrays::pSpotlightDataArray

Stores data of all spawned spotlights.


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