Skip to main content

MultisampleFramebufferOptions

Hierarchy

Index

Properties

optionalinheritedfiltering

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.

inheritedgraphicsContext

inheritedheight

height: number

optionalsamples

samples?: number

Optionally specify number of anti-aliasing samples to use, by default the max for the platform

optionalinheritedtransparency

transparency?: boolean

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

inheritedwidth

width: number

optionalinheritedwrapping

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