MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetRenderScale

Method SetRenderScale

engine/Poseidon/Graphics/Core/Engine.hpp:421–421  ·  view source on GitHub ↗

SSAA render scale: render the frame at scale x window size into an offscreen target and downsample to the window. The only general cure for sub-pixel OPAQUE geometry sparkle (fence bars, wires), which alpha-to-coverage cannot touch and MSAA only dampens. 1.0 = off.

Source from the content-addressed store, hash-verified

419 // for sub-pixel OPAQUE geometry sparkle (fence bars, wires), which
420 // alpha-to-coverage cannot touch and MSAA only dampens. 1.0 = off.
421 virtual void SetRenderScale(float /*scale*/) {}
422 virtual float GetRenderScale() const { return 1.0f; }
423
424 // MSAA sample count on the frame render target (0/1 = no multisampling).

Callers 3

DrawRenderTabFunction · 0.45
TriSetRenderScaleFunction · 0.45

Calls

no outgoing calls

Tested by 1

TriSetRenderScaleFunction · 0.36