class
RendererExtension
Interface that can be implemented in order to provide custom rendering code to the renderer.
See Renderer::addPlugin().
Public
Methods
Initialize
Called when the renderer extension is first initialized.
Destroy
Called just before the renderer extension is destroyed.
Check
Returns true if the render() method should be called for the provided camera.
Render
Called at the point at which rendering should be performed for the provided camera.
Relevant render targets are guaranteed to be already bound to the render API, depending on the RenderLocation. Note that actual structure of the render targets depends on the active renderer.
- camera
- Camera through which the renderer is currently rendering.
- viewContext
- Additional information about the currently rendered view.
GetPriority
Determines when will the render() method execute, compared to other plugins using the same RenderLocation.
Higher number means the extension will execute before extensions with lower numbers. Priorities only matter for extensions that share the same RenderLocation.
GetLocation
Returns a location that determines at which point in rendering should the system call the render() method.
See RenderLocation.
Protected
Constructors
RendererExtension
Methods
~RendererExtension
Private
Methods
staticQueueInitializeOnRenderThread
Initializer that triggers when a renderer extension is first constructed.
staticQueueDeleteOnRenderThread
Deleter that triggers when a renderer extension object goes out of scope.