| 82 | SMAAFinalRenderParams() : TBase(gpu::Program::SmaaFinal) {} |
| 83 | |
| 84 | void SetParams(ref_ptr<dp::Texture> colorTexture, ref_ptr<dp::Texture> blendingWeightTexture, uint32_t width, |
| 85 | uint32_t height) |
| 86 | { |
| 87 | m_state.SetTexture("u_colorTex", colorTexture); |
| 88 | m_state.SetTexture("u_blendingWeightTex", blendingWeightTexture); |
| 89 | |
| 90 | m_params.m_framebufferMetrics = |
| 91 | glsl::vec4(1.0f / width, 1.0f / height, static_cast<float>(width), static_cast<float>(height)); |
| 92 | } |
| 93 | }; |
| 94 | |
| 95 | class DefaultScreenQuadRenderParams |
nothing calls this directly
no test coverage detected