Torque3D Documentation / _generateds / GFXGLOcclusionQuery

GFXGLOcclusionQuery

Engine/source/gfx/gl/gfxGLOcclusionQuery.h

More...

Private Attributes

Public Functions

bool

Prepares the query returning true if the last query has been processed and more geometry can be issued.

The resource should put a description of itself (number of vertices, size/width of texture, etc.) in buffer.

end()

Called after your geometry is drawn to submit the query for processing.

getStatus(bool block, U32 * data)

Returns the status of the last submitted query.

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

Private Attributes

U32 mQuery 
bool mTesting 

Public Functions

GFXGLOcclusionQuery(GFXDevice * device)

~GFXGLOcclusionQuery()

begin()

Reimplemented from: GFXOcclusionQuery

describeSelf()

Reimplemented from: GFXOcclusionQuery

end()

Reimplemented from: GFXOcclusionQuery

getStatus(bool block, U32 * data)

Reimplemented from: GFXOcclusionQuery

resurrect()

Reimplemented from: GFXOcclusionQuery

zombify()

Reimplemented from: GFXOcclusionQuery