cohtml.Net.ViewRenderer
The ViewRenderer is in charge of drawing a View in a user-supplied texture.
Inherits from SystemIDisposable
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
| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
function Dispose
virtual void Dispose()
function Destroy
virtual void Destroy()
Destroys the ViewRenderer.
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
variable swigCMemOwn
bool swigCMemOwn;