GuiOffscreenCanvas
Engine/source/gui/core/guiOffscreenCanvas.h
Public Types
Parent
Protected Attributes
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
onAdd()
Called when this object is added to the scene.
renderFrame(bool preRenderOnly, bool bufferSwap)
Repaints the dirty regions of the canvas.
setCursorPos(const Point2I & pt)
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