SceneRenderInstance
Summary
Remarks
Danger
All calls made within this class MUST be performed on the Master Thread. See Thread.RunLater on how to safely call this from an asynchronous thread. Failure to comply with this can cause catastrophical failures as the engine is not designed for this.
Definition
Namespace: SDT4.Managed.Renderer.XRP
Assembly: SDT4.Managed.Renderer.dll
sealed class SceneRenderInstance
Inheritance:
Object ➔ SceneRenderInstance
Implements:
IDisposable
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
Methods
public ViewportRenderInstance CreateViewportRenderer(String uniqueName, RenderCanvas renderCanvas)
Summary: Creates a viewport from a canvas.
Remarks:
uniqueName MUST be unique, otherwise an InvalidOperationException is thrown.
renderCanvas MUST be valid, otherwise an InvalidOperationException is thrown.
Parameters:
-
uniqueName(String): -
renderCanvas(RenderCanvas):
Returns: