class
render::DebugDrawRenderer
Inherits:
RendererExtension
Performs rendering of meshes provided by DebugDraw.
Public
Constructors
DebugDrawRenderer
DebugDrawRenderer()
Private
Methods
Initialize
Called when the renderer extension is first initialized.
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.
UpdateData
Updates the internal data that is used for rendering.
Normally you would call this after updating the meshes on the main thread.
- meshes
- Meshes to render.
Fields
mMeshes
Vector<DebugDraw::MeshRenderData> mMeshes