MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetShadowMapAtlas

Method GetShadowMapAtlas

trinity/Tr2LightManager.cpp:703–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703Tr2GpuResourcePool::Texture Tr2LightManager::GetShadowMapAtlas( Tr2GpuResourcePool& gpuResourcePool )
704{
705 return gpuResourcePool.GetTempTexture( "EveSpaceSceneDynamicShadowMap", m_ShadowMap.m_atlasSettings.actualTextureSize, m_ShadowMap.m_atlasSettings.actualTextureSize, ImageIO::PIXEL_FORMAT_D32_FLOAT, Tr2GpuUsage::DEPTH_STENCIL | Tr2GpuUsage::SHADER_RESOURCE );
706}
707
708const Tr2LightManager::ShadowMapAtlasSettings& Tr2LightManager::GetShadowMapAtlasSettings() const
709{

Callers 1

RenderShadowsMethod · 0.80

Calls 1

GetTempTextureMethod · 0.80

Tested by

no test coverage detected