Skip to main content

@novorender/api / RenderStateOutput

Interface: RenderStateOutput

Defined in: @novorender/src/core3d/state/index.ts:181

Output image related state.

Properties

height

readonly height: number;

Defined in: @novorender/src/core3d/state/index.ts:186

Image pixel height.


samplesMSAA

readonly samplesMSAA: number;

Defined in: @novorender/src/core3d/state/index.ts:194

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.


width

readonly width: number;

Defined in: @novorender/src/core3d/state/index.ts:183

Image pixel width.