Skip to main content

Type Alias: EffectRenderOptions

EffectRenderOptions = object

Defined in: modules/engine/src/api/passes/effect-renderer.ts:286

Inputs and destination for a single effects frame.

Properties​

bindings?​

optional bindings?: Record<string, Binding | TextureBindingSource>

Defined in: modules/engine/src/api/passes/effect-renderer.ts:289


commandEncoder?​

optional commandEncoder?: CommandEncoder

Defined in: modules/engine/src/api/passes/effect-renderer.ts:294

Defaults to the device encoder. The renderer records work without submitting it.


resetHistory?​

optional resetHistory?: boolean

Defined in: modules/engine/src/api/passes/effect-renderer.ts:290


sourceTexture​

sourceTexture: Texture | DynamicTexture

Defined in: modules/engine/src/api/passes/effect-renderer.ts:287


target?​

optional target?: Framebuffer | null

Defined in: modules/engine/src/api/passes/effect-renderer.ts:292

Omit to return the texture, pass null to present, or supply a borrowed framebuffer.


uniforms?​

optional uniforms?: Record<string, Record<string, unknown>>

Defined in: modules/engine/src/api/passes/effect-renderer.ts:288