Skip to main content

@novorender/web_app / RenderStateOutput

Interface: RenderStateOutput

Output image related state.

Properties

height

readonly height: number;

Image pixel height.

Defined in

@novorender/core3d/state/index.ts:175


samplesMSAA

readonly samplesMSAA: number;

Number of MSAA samples used to anti-alias the output image.

Remarks

This number should be an integer between 1 and 16, inclusive. The more samples, the better the anti aliasing, but also the more memory and render time. Most devices have a max cap on this value, in which case that smaller of the two will be used.

Defined in

@novorender/core3d/state/index.ts:183


width

readonly width: number;

Image pixel width.

Defined in

@novorender/core3d/state/index.ts:172