| 46 | } |
| 47 | |
| 48 | void 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 | { |
| 50 | renderContext.RenderPassHint( { loadAction, Tr2StoreAction::STORE }, {} ); |
| 51 | renderContext.m_esm.PushRenderTarget( dest ); |
| 52 | Tr2Renderer::DrawTexture( renderContext, src, tlTextureCoords, brTextureCoords, Tr2Blitter::FILTER_LINEAR ); |
| 53 | renderContext.m_esm.PopRenderTarget(); |
| 54 | } |
| 55 | |
| 56 | void DrawInto( const Tr2TextureAL& dest, Tr2LoadAction::Type loadAction, Tr2Effect* effect, Tr2RenderContext& renderContext ) |
| 57 | { |
nothing calls this directly
no test coverage detected