MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / getRenderScale

Function getRenderScale

src/core/index.ts:228–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226 bloom_set_render_scale(Math.min(1.0, Math.max(0.5, scale)));
227}
228export function getRenderScale(): number { return bloom_get_render_scale(); }
229
230/** Upscale filter when render_scale < 1 and TAA is off. "bilinear" = cheap/soft, "catmull-rom" = sharper (default). */
231export type UpscaleMode = "bilinear" | "catmull-rom";

Callers

nothing calls this directly

Calls 1

bloom_get_render_scaleFunction · 0.50

Tested by

no test coverage detected