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

#include <LightingShaderResourceManager.h>

Public Attributes

std::array< std::unique_ptr< UploadBuffer >, FrameResourceManager::getFrameResourceCount()> vGeneralDataGpuResources
 
GeneralLightingShaderData generalData
 

Detailed Description

Groups GPU related data.

Member Data Documentation

◆ generalData

GeneralLightingShaderData ne::LightingShaderResourceManager::GpuData::generalData

Stores general (not related to a specific light source type) lighting data.

Remarks
Stores data that is copied in vGeneralDataGpuResources.

◆ vGeneralDataGpuResources

std::array<std::unique_ptr<UploadBuffer>, FrameResourceManager::getFrameResourceCount()> ne::LightingShaderResourceManager::GpuData::vGeneralDataGpuResources

Stores data from generalData in the GPU memory.


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