Torque3D Documentation / _generateds / GFXD3D11OcclusionQuery

GFXD3D11OcclusionQuery

Engine/source/gfx/D3D11/gfxD3D11OcclusionQuery.h

More...

Private Attributes

ID3D11Query *
bool

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

ID3D11Query * mQuery 
bool mTesting 

Public Functions

GFXD3D11OcclusionQuery(GFXDevice * device)

~GFXD3D11OcclusionQuery()

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