cohtml.Compositor
A class used to implement the Compositor and Surface Partitioning features.
Public Functions
Section titled “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 | Draw(uint viewId, Action drawAction) |
Public Functions Documentation
Section titled “Public Functions Documentation”function Compositor
Section titled “function Compositor”Compositor()function RegisterView
Section titled “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
Section titled “function DeregisterView”void DeregisterView( uint viewId)Removes a specific CohtmlView from the Compositor.
Parameters:
- viewId The ID of the CohtmlView.
function Draw
Section titled “function Draw”void Draw( uint viewId, Action drawAction)© 2026 Coherent Labs. All rights reserved.