SceneObjectCallback

Description

[Flags]
enum Tinman.Engine.Scenes.SceneObjectCallback

Enumeration of callback flags for ISceneObject.CallbackMask.

The callback flags may be used to reduce the overhead of making redundant callback invocations on ISceneObject instances that use the default empty implementation, especially when using large numbers of scene objects.

Public / Constants

None

public constant None → (0:int32)

No callbacks.

ConsumeInput

public constant ConsumeInput → (1:int32)

UpdateFrametime

public constant UpdateFrametime → (2:int32)

RenderPrepare

public constant RenderPrepare → (4:int32)

RenderOffscreen

public constant RenderOffscreen → (8:int32)

Render3D

public constant Render3D → (16:int32)

Render2D

public constant Render2D → (32:int32)

The IRenderable2D.Render2D callback.

All

public constant All → (63:int32)

All callbacks.