cohtml.Net.ViewRenderer
The ViewRenderer is in charge of drawing a View in a user-supplied texture.
Inherits from SystemIDisposable
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| virtual void | Destroy() Destroys the ViewRenderer. |
| virtual void | Paint(uint frameId) Call this each frame to update the UI texture. This call will perform the actual rendering using the backend associated in the SystemRenderer. Should be called on the rendering thread. If the frame is not ready to be painted, the call blocks until it becomes ready. When ready, the frame will be painted and the call will return. |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()function Destroy
Section titled “function Destroy”virtual void Destroy()Destroys the ViewRenderer.
function Paint
Section titled “function Paint”virtual void Paint( uint frameId)Call this each frame to update the UI texture. This call will perform the actual rendering using the backend associated in the SystemRenderer. Should be called on the rendering thread. If the frame is not ready to be painted, the call blocks until it becomes ready. When ready, the frame will be painted and the call will return.
Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.