MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / ComputePlaceholderTexture

Method ComputePlaceholderTexture

PostProcess/Bloom/src/Bloom.cpp:373–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373void Bloom::ComputePlaceholderTexture(const RenderAttributes& RenderAttribs)
374{
375 PostFXContext::TextureOperationAttribs CopyTextureAttribs;
376 CopyTextureAttribs.pDevice = RenderAttribs.pDevice;
377 CopyTextureAttribs.pDeviceContext = RenderAttribs.pDeviceContext;
378 CopyTextureAttribs.pStateCache = RenderAttribs.pStateCache;
379 RenderAttribs.pPostFXContext->CopyTextureColor(CopyTextureAttribs, m_Resources[RESOURCE_IDENTIFIER_INPUT_COLOR].GetTextureSRV(), m_Resources[RESOURCE_IDENTIFIER_OUTPUT_COLOR].GetTextureRTV());
380}
381
382void Bloom::Execute(const RenderAttributes& RenderAttribs)
383{

Callers

nothing calls this directly

Calls 1

CopyTextureColorMethod · 0.80

Tested by

no test coverage detected