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

Method SetParams

libs/drape_frontend/postprocess_renderer.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 EdgesRenderParams() : TBase(gpu::Program::SmaaEdges) {}
48
49 void SetParams(ref_ptr<dp::Texture> texture, uint32_t width, uint32_t height)
50 {
51 m_state.SetTexture("u_colorTex", texture);
52
53 m_params.m_framebufferMetrics =
54 glsl::vec4(1.0f / width, 1.0f / height, static_cast<float>(width), static_cast<float>(height));
55 }
56};
57
58class BlendingWeightRenderParams : public SMAABaseRenderParams

Callers 1

EndFrameMethod · 0.45

Calls 1

SetTextureMethod · 0.45

Tested by

no test coverage detected