| 368 | } |
| 369 | |
| 370 | ALResult Tr2LightManager::ClearLightIndices( Tr2RenderContext& renderContext ) |
| 371 | { |
| 372 | if( !m_indexBuffer || !m_indexBuffer->GetGpuBuffer( 0 ) ) |
| 373 | { |
| 374 | return S_OK; |
| 375 | } |
| 376 | const uint32_t clear[] = { 0, 0, 0, 0 }; |
| 377 | return renderContext.ClearUav( *m_indexBuffer->GetGpuBuffer( 0 ), clear ); |
| 378 | } |
| 379 | |
| 380 | ALResult Tr2LightManager::UpdateLightBuffer( Tr2RenderContext& renderContext ) |
| 381 | { |
nothing calls this directly
no test coverage detected