Torque3D Documentation / _generateds / GuiOffscreenCanvas

GuiOffscreenCanvas

Engine/source/gui/core/guiOffscreenCanvas.h

More...

Public Types

Parent 

Public Static Attributes

Public Functions

Returns the point, in screenspace, at which the cursor is located.

bool

Returns true if the cursor is being rendered.

bool

Called when this object is added to the scene.

Called when this object is removed.

renderFrame(bool preRenderOnly, bool bufferSwap)

Repaints the dirty regions of the canvas.

Sets the position of the cursor.

showCursor(bool state)

Enable/disable rendering of the cursor.

Public Static Functions

Detailed Description

Public Types

typedef GuiCanvas Parent 

Protected Attributes

bool mDynamicTarget 
NamedTexTarget mNamedTarget 
GFXTextureTargetRef mTarget 
GFXTexHandle mTargetDepth 
bool mTargetDirty 
GFXFormat mTargetFormat 
String mTargetName 
Point2I mTargetSize 
GFXTexHandle mTargetTexture 
bool mUseDepth 

Public Static Attributes

Vector< GuiOffscreenCanvas * > sList 

Public Functions

GuiOffscreenCanvas()

~GuiOffscreenCanvas()

_onTextureEvent(GFXTexCallbackCode code)

_setupTargets()

_teardownTargets()

DECLARE_CONOBJECT(GuiOffscreenCanvas )

getCursorPos()

Reimplemented from: GuiCanvas

getTarget()

getWindowSize()

Reimplemented from: GuiCanvas

isCursorShown()

Reimplemented from: GuiCanvas

markDirty()

onAdd()

Reimplemented from: GuiCanvas

Reimplemented by: OpenVROverlay

onFrameRendered()

Reimplemented by: OpenVROverlay

onRemove()

Reimplemented from: GuiCanvas

Reimplemented by: OpenVROverlay

renderFrame(bool preRenderOnly, bool bufferSwap)

Reimplemented from: GuiCanvas

setCursorPos(const Point2I & pt)

Reimplemented from: GuiCanvas

showCursor(bool state)

Reimplemented from: GuiCanvas

Public Static Functions

initPersistFields()