| 1707 | } |
| 1708 | |
| 1709 | Tr2GpuResourcePool::Texture Tr2PostProcessRenderer::GetBlackTexture( Tr2GpuResourcePool& gpuResourcePool ) const |
| 1710 | { |
| 1711 | const uint32_t blackColor[4 * 4] = {}; |
| 1712 | Tr2SubresourceData initData = { blackColor, 4 * sizeof( uint32_t ), 4 * 4 * sizeof( uint32_t ) }; |
| 1713 | return gpuResourcePool.GetPersistentTexture( "Black", 4, 4, Tr2RenderContextEnum::PIXEL_FORMAT_B8G8R8A8_UNORM, Tr2GpuUsage::SHADER_RESOURCE, &initData ); |
| 1714 | } |
nothing calls this directly
no test coverage detected