cohtml.PostEffectRenderer

Class responsible for rendering the CohtmlView component as a post render effect. Such rendering flow is required when having backdrop filter effects in the UI.

Inherits from MonoBehaviour

Public Functions

Name
voidOnPostRender()
voidAddView(CohtmlView view)
Adds the CohtmlView component that should be painted as a post effect to a collection.
voidRemoveView(CohtmlView view)
Removes the CohtmlView that should be drawn as a post effect from a collection.

Public Properties

Name
PostEffectRendererInstance
Returns an instance of the current PostEffectRenderer.

Public Functions Documentation

function OnPostRender

void OnPostRender()

function AddView

void AddView(
    CohtmlView view
)

Adds the CohtmlView component that should be painted as a post effect to a collection.

function RemoveView

void RemoveView(
    CohtmlView view
)

Removes the CohtmlView that should be drawn as a post effect from a collection.

Public Property Documentation

property Instance

static PostEffectRenderer Instance;

Returns an instance of the current PostEffectRenderer.