cohtml.Net.ViewRenderer

The ViewRenderer is in charge of drawing a View in a user-supplied texture.

Inherits from SystemIDisposable

Public Functions

Name
virtual voidDispose()
virtual voidDestroy()
Destroys the ViewRenderer.
virtual voidPaint(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
boolswigCMemOwn

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;