CREOcclusionQuery

Class Hierarchy
C++
class CREOcclusionQuery : public CRendElementBase;
File

CREOcclusionQuery.h

CREOcclusionQuery::m_nCheckFrame Data Member
C++
int m_nCheckFrame;
CREOcclusionQuery::m_nDrawFrame Data Member
C++
int m_nDrawFrame;
CREOcclusionQuery::m_nOcclusionID Data Member
C++
UINT_PTR m_nOcclusionID;
Description

this will carry a pointer LPDIRECT3DQUERY9, so it needs to be 64-bit on WIN64

CREOcclusionQuery::m_nQueriesPerFrameCounter Data Member
C++
uint32 m_nQueriesPerFrameCounter;
CREOcclusionQuery::m_nReadResultNowCounter Data Member
C++
uint32 m_nReadResultNowCounter;
CREOcclusionQuery::m_nReadResultTryCounter Data Member
C++
uint32 m_nReadResultTryCounter;
CREOcclusionQuery::m_nVisSamples Data Member
C++
int m_nVisSamples;
CREOcclusionQuery::m_pRMBox Data Member
C++
CRenderMesh * m_pRMBox;
CREOcclusionQuery::m_vBoxMax Data Member
C++
Vec3 m_vBoxMax;
CREOcclusionQuery::m_vBoxMin Data Member
C++
Vec3 m_vBoxMin;
CREOcclusionQuery::~CREOcclusionQuery Destructor
C++
virtual ~CREOcclusionQuery();
CREOcclusionQuery::CREOcclusionQuery Constructor
C++
CREOcclusionQuery();
CREOcclusionQuery::GetMemoryUsage Method
C++
virtual void GetMemoryUsage(ICrySizer * pSizer) const;
CREOcclusionQuery::HasSucceeded Method
C++
bool HasSucceeded() const;
CREOcclusionQuery::mfDraw Method
C++
virtual bool mfDraw(CShader * ef, SShaderPass * sfm);
CREOcclusionQuery::mfPrepare Method
C++
virtual void mfPrepare(bool bCheckOverflow);
Description

False - mergable, True - static mesh

CREOcclusionQuery::mfReadResult_Now Method
C++
virtual bool mfReadResult_Now();
CREOcclusionQuery::mfReadResult_Try Method
C++
virtual bool mfReadResult_Try(uint32 nDefaultNumSamples = 1);
CREOcclusionQuery::mfReset Method
C++
virtual void mfReset();
CREOcclusionQuery::RT_ReadResult_Try Method
C++
bool RT_ReadResult_Try(uint32 nDefaultNumSamples);
friend class CRender3D Friend
C++
friend class CRender3D;