Torque3D Documentation / _generateds / GFXGLWindowTarget

GFXGLWindowTarget

Engine/source/gfx/gl/gfxGLWindowTarget.h

More...

Public Friends

Public Functions

Returns the texture format of the render target.

Returns the size in pixels of the render target.

bool

Present latest buffer, if buffer swapping is in effect.

Notify the target that the video mode on the window has changed.

Copy this surface to the passed GFXTextureObject.

When called the resource should restore all device sensitive information destroyed by zombify()

When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.

Detailed Description

Public Friends

Private Attributes

GFXTexHandle mBackBufferColorTex 
GFXTexHandle mBackBufferDepthTex 
GLuint mBackBufferFBO 
void * mContext 
GLuint mCopyFBO 
GFXDevice * mDevice 
void * mFullscreenContext 
bool mSecondaryWindow 

Is this a secondary window.

Point2I size 

Public Functions

GFXGLWindowTarget(PlatformWindow * win, GFXDevice * d)

~GFXGLWindowTarget()

_onAppSignal(WindowId wnd, S32 event)

createPixelFormat()

getFormat()

Reimplemented from: GFXTarget

getSize()

Reimplemented from: GFXTarget

makeActive()

present()

Reimplemented from: GFXWindowTarget

resetMode()

Reimplemented from: GFXWindowTarget

resolveTo(GFXTextureObject * tex)

Reimplemented from: GFXTarget

resurrect()

Reimplemented from: GFXResource

zombify()

Reimplemented from: GFXResource