Type Alias: EffectResource
EffectResource =
object
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:8
Properties
aliasFor?
optionalaliasFor?:string
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:16
Reuse an earlier transient target with an identical size, format, and sampler.
format?
optionalformat?:TextureFormat
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:12
Render target format. Defaults to the color chain format.
initialize?
optionalinitialize?:"original"| {clearColor: [number,number,number,number]; }
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:22
Initial value used after construction, resize, or an explicit history reset.
lifetime?
optionallifetime?:"transient"|"history"
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:20
Resource lifetime. History targets retain their last successfully rendered value.
sampler?
optionalsampler?:SamplerProps
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:14
Optional sampling behavior when later passes read this target.
scale?
optionalscale?: [number,number]
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:10
Width and height scale relative to the renderer output size.
storage?
optionalstorage?:boolean
Defined in: modules/engine/src/api/passes/fullscreen-effect-module.ts:18
Allow WebGPU compute shaders to write this target as a storage texture.