Skip to main content

Class: RenderingConfiguration

A class containing largely static configuration information.

Constructors​

Constructor​

new RenderingConfiguration(): RenderingConfiguration

Returns​

RenderingConfiguration

Methods​

getDynamicTextureResolution()​

static getDynamicTextureResolution(simpleContent?): RenderDimensions

Returns the resolution expected for generated textures.

Parameters​

simpleContent?​

boolean = false

Returns​

RenderDimensions


getMirrorTextureResolution()​

static getMirrorTextureResolution(): PowerOfTwoNumber

Returns the resolution expected for mirror textures.

Returns​

PowerOfTwoNumber


offscreenRenderingSupported()​

static offscreenRenderingSupported(): boolean

Returns true when multithreaded rendering is supported.

Returns​

boolean


shouldMipMap()​

static shouldMipMap(): boolean

Returns true when textures should generate mip maps

Returns​

boolean