Skip to main content

FramebufferOptions

Hierarchy

Index

Properties

optionalfiltering

filtering?: ImageFiltering

How this framebuffer's texture is sampled when used as a source.

Default ImageFiltering.Pixel (nearest), matching the engine's frame targets which are only ever sampled 1:1. Pass ImageFiltering.Blended (linear) for anything that samples at a different resolution, like downsample/upsample blur chains.

graphicsContext

height

height: number

optionaltransparency

transparency?: boolean

Match the canvas transparency semantics, used to pick a compatible blit format. Default true.

width

width: number

optionalwrapping

How this framebuffer's texture wraps when sampled outside 0-1 UVs, default ImageWrapping.Clamp