Lysa  0.0
Lysa 3D Engine
SceneConfiguration Struct Reference

Detailed Description

Configuration settings for a Scene.

Public Attributes

bool preCreatePipelines {true}
 Create graphic pipelines when a new material is created instead of waiting to add mesh instance. More...
 
uint32 asyncObjectUpdatesPerFrame {50}
 Number of nodes updates per frame for asynchronous scene updates. More...
 
size_t initialLights {16}
 Initial number of light slots per frame; grows on demand. More...
 
size_t initialMeshInstances {128}
 Initial number of mesh instance slots per frame; grows on demand. More...
 
size_t initialSurfaceInstances {512}
 Initial total surface-instance allocation capacity per frame. More...
 
size_t initialSurfaceInstancesPerPipeline {256}
 Initial group and draw-command capacities for each pipeline; grow independently. More...
 

Member Data Documentation

uint32 asyncObjectUpdatesPerFrame {50}

Number of nodes updates per frame for asynchronous scene updates.

size_t initialLights {16}

Initial number of light slots per frame; grows on demand.

size_t initialMeshInstances {128}

Initial number of mesh instance slots per frame; grows on demand.

size_t initialSurfaceInstances {512}

Initial total surface-instance allocation capacity per frame.

size_t initialSurfaceInstancesPerPipeline {256}

Initial group and draw-command capacities for each pipeline; grow independently.

bool preCreatePipelines {true}

Create graphic pipelines when a new material is created instead of waiting to add mesh instance.