class
render::RendererScene
Contains information about the scene (e.g. renderables, lights, cameras) required by the renderer.
Public
Methods
~RendererScene
GetRenderableStorage
Returns the renderable object storage for this scene.
GetLightStorage
Returns the light object storage for this scene.
GetDecalStorage
Returns the decal object storage for this scene.
GetParticleSystemStorage
Returns the particle system object storage for this scene.
GetReflectionProbeStorage
Returns the reflection probe object storage for this scene.
SyncWrite
Applies sync data from SyncRead to render-thread representations and frees frame-allocated memory.
UpdateCamera
Updates information about a previously registered camera.
RegisterLightProbeVolume
Registers a new light probe volume in the scene.
UpdateLightProbeVolume
Updates information about a previously registered light probe volume.
UnregisterLightProbeVolume
Removes a light probe volume from the scene.
RegisterSkybox
Registers a new sky texture in the scene.
AddExtension
Registers an extension object that will be called every frame, for view in this scene.
Allows external code to perform custom rendering interleaved with the renderer's output.
RemoveExtension
Unregisters an extension registered with AddRendererExtension().
UpdateCombinedRendererExtensionsIfNeeded
Updates the combined extension list if required.
Combined extension list contains extensions specific to the scene and global renderer ones. This will rebuild the internal list if the per-scene extensions have changed since the last call, or if is true. should be true if has changed since the last time this method was called.
GetCombinedRendererExtensions
Returns a list of renderer extensions that includes both the global renderer extensions, and the per-scene extensions.
Make sure to call UpdateCombinedRendererExtensionsIfNeeded() before this method, if extension list has been modified.
Protected
Constructors
RendererScene
Fields
mDecalStorage
mRenderableStorage
mLightStorage
mParticleSystemStorage
mReflectionProbeStorage
mRendererExtensions
mCombinedRendererExtensions
Transient set of per-scene and global renderer extensions.