MCPcopy Create free account
hub / github.com/comaps/comaps / SetParams

Method SetParams

libs/drape_frontend/postprocess_renderer.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
95class DefaultScreenQuadRenderParams

Callers

nothing calls this directly

Calls 1

SetTextureMethod · 0.45

Tested by

no test coverage detected