Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.

Type

EffectRenderTarget

vfx-js/src/types.ts:673 ↗
import type { EffectRenderTarget } from "@vfx-js/core";

A handle to an offscreen render target.

ctx.createRenderTarget(...) returns EffectRenderTarget as the handle of the raw WebGL framebuffer. You can use it as a draw target (ctx.draw({ target: rt })) and as a sampler2D uniform to read it back in a later pass.

width / height are physical pixels.

Call dispose() to release the underlying GL resources eagerly. Idempotent. Framework-owned RTs (e.g. ctx.target, ctx.src) ignore the call. Do not use the handle after disposing it.

Properties

__brand

readonly __brand: "EffectRenderTarget"

height

readonly height: number

width

readonly width: number

dispose

dispose(): void

generateMipmaps

generateMipmaps(): void

Regenerate mips from level 0. No-op when the RT was not created with mipmap: true | "manual". Auto mode regenerates after every draw already; call this in "manual" mode after the last draw before the RT is sampled at non-zero LOD.