SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetHitGroupsCache()

std::shared_ptr< std::unordered_map< std::string, uint32_t > > Spices::RayTracingRenderer::GetHitGroupsCache ( )
private

Get HitGroupsCache.

Returns
Returns HitGroupsCache.

Definition at line 192 of file RayTracingRenderer.cpp.

193 {
195
196 if (!m_HitGroupsCache)
197 {
198 m_HitGroupsCache = std::make_shared<std::unordered_map<std::string, uint32_t>>();
199 }
200
201 return m_HitGroupsCache;
202 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< std::unordered_map< std::string, uint32_t > > m_HitGroupsCache
Hit groups cached data.