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

Function DrawInto

trinity/PostProcess/Tr2PostProcessRenderer.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38static Tr2UpscalingAL::Result s_lastUpscalingResult;
39
40void DrawInto( const Tr2TextureAL& dest, Tr2LoadAction::Type loadAction, const Tr2TextureAL& src, Tr2RenderContext& renderContext )
41{
42 renderContext.RenderPassHint( { loadAction, Tr2StoreAction::STORE }, {} );
43 renderContext.m_esm.PushRenderTarget( dest );
44 Tr2Renderer::DrawTexture( renderContext, src );
45 renderContext.m_esm.PopRenderTarget();
46}
47
48void DrawPartiallyInto( const Tr2TextureAL& dest, Tr2LoadAction::Type loadAction, const Tr2TextureAL& src, Tr2RenderContext& renderContext, const Vector2 tlTextureCoords = Vector2( 0, 0 ), const Vector2 brTextureCoords = Vector2( 1, 1 ) )
49{

Callers 11

BlurMethod · 0.85
DownSampleDepthMethod · 0.85
RenderBloomMethod · 0.85
RenderBloomDebugMethod · 0.85
RenderGodRaysMethod · 0.85
RenderUpscalingMethod · 0.85
RenderFogMethod · 0.85
RenderTaaMethod · 0.85
RenderTonemappingMethod · 0.85
RenderGenericEffectMethod · 0.85
RenderDepthOfFieldMethod · 0.85

Calls 3

RenderPassHintMethod · 0.45
PushRenderTargetMethod · 0.45
PopRenderTargetMethod · 0.45

Tested by

no test coverage detected