cohtml.Compositor
On this page
A class used to implement the Compositor and Surface Partitioning features.
Public Functions
Name | |
---|---|
Compositor() | |
void | RegisterView(uint viewId) Informs the Compositor that a specific CohtmlView will have compositions. |
void | DeregisterView(uint viewId) Removes a specific CohtmlView from the Compositor. |
void | PaintCompositionsForView(uint viewId, Material renderMaterial, bool clearTexture =false) Renders the available compositions for a CohtmlView. |
Public Functions Documentation
function Compositor
Compositor()
function RegisterView
void RegisterView(
uint viewId
)
Informs the Compositor that a specific CohtmlView will have compositions.
Parameters:
- viewId The ID of the CohtmlView.
function DeregisterView
void DeregisterView(
uint viewId
)
Removes a specific CohtmlView from the Compositor.
Parameters:
- viewId The ID of the CohtmlView.
function PaintCompositionsForView
void PaintCompositionsForView(
uint viewId,
Material renderMaterial,
bool clearTexture =false
)
Renders the available compositions for a CohtmlView.
Parameters:
- viewId The identification number of the CohtmlView.
- renderMaterial The material used for rendering the compositions.
- clearTexture Whether the current rendering texture should be cleared.