OffscreenView

Description

sealed class Tinman.Engine.Scenes.Entities.OffscreenView

Derived from

SceneEntityView<ISceneView> abstract

Performs offscreen rendering.

Public / Constructors

OffscreenView


public constructor OffscreenView → (4)

component in : object

[not-null]
The component to wrap.

renderTargetHandle in : RenderTargetHandle

[not-null]
The offscreen render target to use.

update opt : bool = true

Enable the IUpdateableFrameTime.UpdateFrameTime callback?

order opt : int32 = 0

See ISceneObject.Order.

Creates a new instance of OffscreenView.

The following callbacks will be performed on component in, if it implements the respective interface:

Public / Attributes

OffscreenBitmap


public attribute OffscreenBitmap → (get)

value : IResourceHandle

[not-null]
The IResourceHandle object.

The IResourceHandle that returns a Bitmap that represents the rendered offscreen content.

The same IResourceHandle object will be returned for the lifetime of this OffscreenView object.

OffscreenTexture


public attribute OffscreenTexture → (get)

value : IModelTexture

[not-null]
The IModelTexture handle.

The IModelTexture that represents the rendered offscreen content.

The same IModelTexture object will be returned for the lifetime of this OffscreenView object.