CRYENGINE Show ClipVolume.h Source code
Return
Download CRYENGINE:
download ClipVolume.h Source code
- Download CRYENGINE Source code - Type:.h
- // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
- #ifndef __INCLUDE_CRY3DENGINE_CLIPVOLUME_H
- #define __INCLUDE_CRY3DENGINE_CLIPVOLUME_H
- struct IBSPTree3D;
- class CClipVolume : public IClipVolume
- {
- public:
- CClipVolume();
- virtual ~CClipVolume();
- ////////////// IClipVolume implementation //////////////
- virtual void GetClipVolumeMesh(_smart_ptr<IRenderMesh>& renderMesh, Matrix34& worldTM) const;
- virtual AABB GetClipVolumeBBox() const;
- virtual uint8 GetStencilRef() const { return m_nStencilRef; }
- virtual uint GetClipVolumeFlags() const { return m_nFlags; }
- virtual bool IsPointInsideClipVolume(const Vec3& vPos) const;
- ////////////////////////////
- void SetName(const char* szName);
- void SetStencilRef(int nStencilRef) { m_nStencilRef = nStencilRef; }
- void Update(_smart_ptr<IRenderMesh> pRenderMesh, IBSPTree3D* pBspTree, const Matrix34& worldTM, uint32 flags);
- void RegisterRenderNode(IRenderNode* pRenderNode);
- void UnregisterRenderNode(IRenderNode* pRenderNode);
- void GetMemoryUsage(class ICrySizer* pSizer) const;
- private:
- uint8 m_nStencilRef;
- uint32 m_nFlags;
- Matrix34 m_WorldTM;
- Matrix34 m_InverseWorldTM;
- AABB m_BBoxWS;
- AABB m_BBoxLS;
- _smart_ptr<IRenderMesh> m_pRenderMesh;
- IBSPTree3D* m_pBspTree;
- PodArray<IRenderNode*> m_lstRenderNodes;
- char m_sName[64];
- CryCriticalSection m_lstRenderNodesCritSection;
- };
- #endif //__INCLUDE_CRY3DENGINE_CLIPVOLUME_H
downloadClipVolume.h Source code
- Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets
https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps
... 2017-06-10
angular-starter - 2017-06-10