Config

actual class Config

Advanced parameters for customizing Engine initialization.

These settings control memory allocation, threading, and rendering behavior.

expect class Config

Advanced parameters for customizing Engine initialization.

These settings control memory allocation, threading, and rendering behavior.

actual class Config

Advanced parameters for customizing Engine initialization.

These settings control memory allocation, threading, and rendering behavior.

actual class Config

Advanced parameters for customizing Engine initialization.

These settings control memory allocation, threading, and rendering behavior.

actual class Config

Defaults mirror Filament's own Engine::Config — they now reach the engine via create.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
actual constructor()
actual constructor()
constructor()

Types

Link copied to clipboard

Preferred shader language for platform.

Preferred shader language for platform.

Preferred shader language for platform.

Preferred shader language for platform.

Preferred shader language for platform.

Properties

Link copied to clipboard

Assert that the native window handed to createSwapChain is valid.

Assert that the native window handed to createSwapChain is valid.

Assert that the native window handed to createSwapChain is valid.

Assert that the native window handed to createSwapChain is valid.

Assert that the native window handed to createSwapChain is valid.

Link copied to clipboard

Size of the command buffer in MB (default depends on backend).

Size of the command buffer in MB (default depends on backend).

Size of the command buffer in MB (default depends on backend).

Size of the command buffer in MB (default depends on backend).

Size of the command buffer in MB (default depends on backend).

Link copied to clipboard

Disable the debug check that catches use of a destroyed backend handle.

Disable the debug check that catches use of a destroyed backend handle.

Disable the debug check that catches use of a destroyed backend handle.

Disable the debug check that catches use of a destroyed backend handle.

Disable the debug check that catches use of a destroyed backend handle.

Link copied to clipboard

Disable backend parallel shader compilation, forcing serial compilation.

Disable backend parallel shader compilation, forcing serial compilation.

Disable backend parallel shader compilation, forcing serial compilation.

Disable backend parallel shader compilation, forcing serial compilation.

Disable backend parallel shader compilation, forcing serial compilation.

Link copied to clipboard

Driver handle arena size in MB.

Driver handle arena size in MB.

Driver handle arena size in MB.

Driver handle arena size in MB.

Driver handle arena size in MB.

Link copied to clipboard

Evaluate up to four directional lights beyond the dominant one. The extra lights cast no shadows and draw no sun disc. Default: false.

Evaluate up to four directional lights beyond the dominant one. The extra lights cast no shadows and draw no sun disc. Default: false.

Evaluate up to four directional lights beyond the dominant one. The extra lights cast no shadows and draw no sun disc. Default: false.

Evaluate up to four directional lights beyond the dominant one. The extra lights cast no shadows and draw no sun disc. Default: false.

Evaluate up to four directional lights beyond the dominant one. The extra lights cast no shadows and draw no sun disc. Default: false.

Link copied to clipboard

Force OpenGL ES 2.0 context (if applicable).

Force OpenGL ES 2.0 context (if applicable).

Force OpenGL ES 2.0 context (if applicable).

Force OpenGL ES 2.0 context (if applicable).

Force OpenGL ES 2.0 context (if applicable).

Link copied to clipboard

GPU context priority hint for the driver.

GPU context priority hint for the driver.

GPU context priority hint for the driver.

GPU context priority hint for the driver.

GPU context priority hint for the driver.

Link copied to clipboard

Number of threads for the job system (0 = CPU count).

Number of threads for the job system (0 = CPU count).

Number of threads for the job system (0 = CPU count).

Number of threads for the job system (0 = CPU count).

Number of threads for the job system (0 = CPU count).

Link copied to clipboard

Minimum command buffer size in MB.

Minimum command buffer size in MB.

Minimum command buffer size in MB.

Minimum command buffer size in MB.

Minimum command buffer size in MB.

Link copied to clipboard

Size of per-frame commands in MB.

Size of per-frame commands in MB.

Size of per-frame commands in MB.

Size of per-frame commands in MB.

Size of per-frame commands in MB.

Link copied to clipboard

Per-render-pass arena size in MB.

Per-render-pass arena size in MB.

Per-render-pass arena size in MB.

Per-render-pass arena size in MB.

Per-render-pass arena size in MB.

Link copied to clipboard

Preferred shader language to use.

Preferred shader language to use.

Preferred shader language to use.

Preferred shader language to use.

Preferred shader language to use.

Link copied to clipboard

Maximum age of cached resources (in frames).

Maximum age of cached resources (in frames).

Maximum age of cached resources (in frames).

Maximum age of cached resources (in frames).

Maximum age of cached resources (in frames).

Link copied to clipboard

Size of the resource allocator cache in MB.

Size of the resource allocator cache in MB.

Size of the resource allocator cache in MB.

Size of the resource allocator cache in MB.

Size of the resource allocator cache in MB.

Link copied to clipboard

Initial size of shared uniform buffer objects in bytes.

Initial size of shared uniform buffer objects in bytes.

Initial size of shared uniform buffer objects in bytes.

Initial size of shared uniform buffer objects in bytes.

Initial size of shared uniform buffer objects in bytes.

Link copied to clipboard

Number of stereoscopic eyes (usually 2 for VR).

Number of stereoscopic eyes (usually 2 for VR).

Number of stereoscopic eyes (usually 2 for VR).

Number of stereoscopic eyes (usually 2 for VR).

Number of stereoscopic eyes (usually 2 for VR).

Link copied to clipboard

Stereoscopic rendering technique to use.

Stereoscopic rendering technique to use.

Stereoscopic rendering technique to use.

Stereoscopic rendering technique to use.

Stereoscopic rendering technique to use.