CREWaterVolume

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

CREWaterVolume.h

CREWaterVolume::SOceanParams Structure
C++
struct SOceanParams {
  Vec3 m_fogColor;
  Vec3 m_fogColorShallow;
  float m_fogDensity;
};
File

CREWaterVolume.h

CREWaterVolume::SOceanParams::m_fogColor Data Member
C++
Vec3 m_fogColor;
CREWaterVolume::SOceanParams::m_fogColorShallow Data Member
C++
Vec3 m_fogColorShallow;
CREWaterVolume::SOceanParams::m_fogDensity Data Member
C++
float m_fogDensity;
CREWaterVolume::SOceanParams::SOceanParams Constructor
C++
SOceanParams();
CREWaterVolume::SParams Structure
C++
struct SParams {
  const SVF_P3F_C4B_T2F* m_pVertices;
  const uint16* m_pIndices;
  size_t m_numVertices;
  size_t m_numIndices;
  Vec3 m_center;
  AABB m_WSBBox;
  Plane m_fogPlane;
  float m_fogDensity;
  Vec3 m_fogColor;
  bool m_fogColorAffectedBySun;
  float m_fogShadowing;
  bool m_caustics;
  float m_causticIntensity;
  float m_causticTiling;
  float m_causticHeight;
  bool m_viewerInsideVolume;
  bool m_viewerCloseToWaterPlane;
  bool m_viewerCloseToWaterVolume;
};
File

CREWaterVolume.h

CREWaterVolume::SParams::m_causticHeight Data Member
C++
float m_causticHeight;
CREWaterVolume::SParams::m_causticIntensity Data Member
C++
float m_causticIntensity;
CREWaterVolume::SParams::m_caustics Data Member
C++
bool m_caustics;
CREWaterVolume::SParams::m_causticTiling Data Member
C++
float m_causticTiling;
CREWaterVolume::SParams::m_center Data Member
C++
Vec3 m_center;
CREWaterVolume::SParams::m_fogColor Data Member
C++
Vec3 m_fogColor;
CREWaterVolume::SParams::m_fogColorAffectedBySun Data Member
C++
bool m_fogColorAffectedBySun;
CREWaterVolume::SParams::m_fogDensity Data Member
C++
float m_fogDensity;
CREWaterVolume::SParams::m_fogPlane Data Member
C++
Plane m_fogPlane;
CREWaterVolume::SParams::m_fogShadowing Data Member
C++
float m_fogShadowing;
CREWaterVolume::SParams::m_numIndices Data Member
C++
size_t m_numIndices;
CREWaterVolume::SParams::m_numVertices Data Member
C++
size_t m_numVertices;
CREWaterVolume::SParams::m_pIndices Data Member
C++
const uint16* m_pIndices;
CREWaterVolume::SParams::m_pVertices Data Member
C++
const SVF_P3F_C4B_T2F* m_pVertices;
CREWaterVolume::SParams::m_viewerCloseToWaterPlane Data Member
C++
bool m_viewerCloseToWaterPlane;
CREWaterVolume::SParams::m_viewerCloseToWaterVolume Data Member
C++
bool m_viewerCloseToWaterVolume;
CREWaterVolume::SParams::m_viewerInsideVolume Data Member
C++
bool m_viewerInsideVolume;
CREWaterVolume::SParams::m_WSBBox Data Member
C++
AABB m_WSBBox;
CREWaterVolume::SParams::SParams Constructor
C++
SParams();
CREWaterVolume::m_drawFastPath Data Member
C++
bool m_drawFastPath;
CREWaterVolume::m_drawWaterSurface Data Member
C++
bool m_drawWaterSurface;
CREWaterVolume::m_pOceanParams Data Member
C++
const SOceanParams* m_pOceanParams;
CREWaterVolume::m_pParams Data Member
C++
const SParams* m_pParams;
CREWaterVolume::~CREWaterVolume Destructor
C++
virtual ~CREWaterVolume();
CREWaterVolume::CREWaterVolume Constructor
C++
CREWaterVolume();
CREWaterVolume::GetMemoryUsage Method
C++
virtual void GetMemoryUsage(ICrySizer * pSizer) const;
CREWaterVolume::mfCenter Method
C++
virtual void mfCenter(Vec3& vCenter, CRenderObject * pObj);
CREWaterVolume::mfDraw Method
C++
virtual bool mfDraw(CShader* ef, SShaderPass* sfm);
CREWaterVolume::mfGetPlane Method
C++
virtual void mfGetPlane(Plane& pl);
CREWaterVolume::mfPrepare Method
C++
virtual void mfPrepare(bool bCheckOverflow);
Description

False - mergable, True - static mesh