Skip to content

Documentation / scene / PostEffectOutput

Interface: PostEffectOutput ​

Defined in: libs/scene/src/posteffect/posteffect.ts:40

Output target of a post effect, created through PostEffectSetupContext.createOutput.

Properties ​

color ​

color: RGHandle

Defined in: libs/scene/src/posteffect/posteffect.ts:42

Color handle produced by this effect. Return it from AbstractPostEffect.setup.


framebuffer ​

framebuffer: RGHandle<RGHandleKind>

Defined in: libs/scene/src/posteffect/posteffect.ts:47

Graph framebuffer to render into, or null when the effect must render to the device default framebuffer (screen).


srgbOutput ​

srgbOutput: boolean

Defined in: libs/scene/src/posteffect/posteffect.ts:49

Whether the effect must gamma-correct its final write.

Released under the MIT License.