CRenderObject

Class Hierarchy
C++
class CRenderObject;
File

IShader.h

Description

Size of CRenderObject currently is 128 bytes.

Notes

Don't change it's size please!

CRenderObject::m_bHasShadowCasters Data Member
C++
bool m_bHasShadowCasters;
Description

Has non-empty list of lights casting shadows in render object data

CRenderObject::m_DissolveRef Data Member
C++
uint8 m_DissolveRef;
CRenderObject::m_DynLMMask Data Member
C++
uint32 m_DynLMMask[RT_COMMAND_BUF_COUNT];
CRenderObject::m_fDistance Data Member
C++
float m_fDistance;
Description

Distance to the object.

CRenderObject::m_Id Data Member
C++
uint32 m_Id;
CRenderObject::m_II Data Member
C++
Description

Must be aligned by 16 from beginning of CRenderObject!

CRenderObject::m_nCBID Data Member
C++
int16 m_nCBID;
Description

Constant buffer id.

CRenderObject::m_nLod Data Member
C++
uint8 m_nLod;
CRenderObject::m_nMaterialLayers Data Member
C++
uint32 m_nMaterialLayers;
Description

Which mtl layers active and how much to blend them

CRenderObject::m_nMDV Data Member
C++
uint16 m_nMDV;
Description

Vertex modificator flags.

CRenderObject::m_nRenderQuality Data Member
C++
uint16 m_nRenderQuality;
Description

65535 - full quality, 0 - lowest quality, used by CStatObj

CRenderObject::m_nRTMask Data Member
C++
uint32 m_nRTMask;
CRenderObject::m_nTextureID Data Member
C++
int16 m_nTextureID;
Description

Custom texture id.

CRenderObject::m_nVisAreaStencilRef Data Member
C++
uint8 m_nVisAreaStencilRef;
Description

Per instance vis area stencil reference ID

CRenderObject::m_ObjFlags Data Member
C++
uint32 m_ObjFlags;
CRenderObject::m_pCurrMaterial Data Member
C++
IMaterial * m_pCurrMaterial;
Description

Current material (is this available somewhere ??).

CRenderObject::m_pRenderNode Data Member
C++
void * m_pRenderNode;
Description

Will define instance id.

CRenderObject::m_RState Data Member
C++
uint8 m_RState;
CRenderObject::s_ObjData Data Member
C++
CThreadSafeRendererContainer<SRenderObjData> s_ObjData[RT_COMMAND_BUF_COUNT];
CRenderObject::s_pIdentityRenderObjData Data Member
C++
SRenderObjData * s_pIdentityRenderObjData;
CRenderObject::~CRenderObject Destructor
C++
CRenderObject::AssignId Method
C++
void AssignId(int id);
CRenderObject::CloneObject Method
C++
void CloneObject(CRenderObject * srcObj);
CRenderObject::CopyTo Method
C++
void CopyTo(CRenderObject * pObjNew, int nThreadID);
CRenderObject::CRenderObject Constructor
C++
CRenderObject();
CRenderObject::delete Operator (void *)
C++
void operator delete(void * Ptr);
CRenderObject::delete Operator (void *, CRenderObject *)
C++
void operator delete(void * pPtr1, CRenderObject * pPtr2);
CRenderObject::delete[] Operator
C++
void operator delete[](void * Ptr);
CRenderObject::GetMatrix Method
C++
Matrix34A & GetMatrix();
CRenderObject::GetMemoryUsage Method
C++
void GetMemoryUsage(ICrySizer * pSizer) const;
CRenderObject::GetObjData Method
C++
SRenderObjData * GetObjData(int nProcessID);
CRenderObject::GetObjDataId Method
C++
int16 GetObjDataId();
CRenderObject::GetRE Method
C++
CRendElementBase * GetRE(int nProcessID);
CRenderObject::GetScaleX Method
C++
inline float GetScaleX() const;
CRenderObject::GetScaleZ Method
C++
inline float GetScaleZ() const;
CRenderObject::GetTranslation Method
C++
inline Vec3 GetTranslation() const;
CRenderObject::Init Method
C++
void Init(int nThreadID);
CRenderObject::new Operator (size_t)
C++
void* operator new(size_t Size);
Description

ILINE stl::aligned_vector

CRenderObject::new Operator (size_t, CRenderObject *)
C++
void* operator new(size_t Size, CRenderObject * pPtr);
CRenderObject::new Operator (size_t, std::nothrow_t &)
C++
void* operator new(size_t Size, const std::nothrow_t & nothrow);
CRenderObject::new[] Operator (size_t)
C++
void* operator new[](size_t Size);
CRenderObject::new[] Operator (size_t, std::nothrow_t &)
C++
void* operator new[](size_t Size, const std::nothrow_t & nothrow);
CRenderObject::SetObjDataId Method
C++
void SetObjDataId(int16 newObjDataId);