Skip to content
SiteEmail

cohtml.Net.SystemRenderer

The SystemRenderer lives on the render thread and holds all resources shared between multiple Views belonging to the same System (font atlases, texture caches etc.)

Inherits from SystemIDisposable

Name
virtual voidDispose()
virtual ViewRendererCreateViewRenderer(View owner, ViewRendererSettings settings)
Creates a new ViewRenderer used to draw a single View.
virtual voidDestroy()
Destroys the SystemRenderer freeing all resources associated with it. All ViewRenderers created from this should be destroyed before
Name
boolswigCMemOwn
virtual void Dispose()
virtual ViewRenderer CreateViewRenderer(
View owner,
ViewRendererSettings settings
)

Creates a new ViewRenderer used to draw a single View.

Parameters:

Return: the new ViewRenderer instance

Note: Can be called on the main (UI) thread

virtual void Destroy()

Destroys the SystemRenderer freeing all resources associated with it. All ViewRenderers created from this should be destroyed before

bool swigCMemOwn;