All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Eegeo::Rendering::Renderables::ModelRenderable Class Reference
Inheritance diagram for Eegeo::Rendering::Renderables::ModelRenderable:
Eegeo::Rendering::RenderableBase Eegeo::NonCopyable

Public Member Functions

 ModelRenderable (LayerIds::Values layerId, Materials::ModelMaterial &material, Mesh *pMesh, const VertexLayouts::VertexBinding &vertexBinding, Eegeo::dv3 ecefPosition)
 
virtual void UpdateMVP (const Rendering::RenderContext &renderContext, float environmentFlatteningScale)
 
void SetWorldMat (const m44 &worldMat)
 
void SetUsesAlpha (bool usesAlpha)
 
const m44GetInverseWorldMatrix () const
 
const v3GetCameraRelativeModelOrigin () const
 
const
VertexLayouts::VertexBinding
GetVertexBinding () const
 
const float GetAlpha () const
 
void SetAlpha (float alpha)
 
void SetMaterial (const Materials::IMaterial *pMaterial, VertexLayouts::VertexBindingPool &vertexBindingPool)
 
void SetMesh (Mesh *pMesh)
 
void OnMaterialChanged (const Rendering::Materials::IMaterial *pMaterial, Rendering::VertexLayouts::VertexBindingPool &vertexBindingPool)
 
void Render (Rendering::GLState &glState) const
 
- Public Member Functions inherited from Eegeo::Rendering::RenderableBase
 RenderableBase (const m44 &modelViewProjection, const dv3 &ecefPosition, const Rendering::Materials::IMaterial *pMaterial, const VertexLayouts::VertexBinding *pVertexBinding, const SortKey &sortKey)
 
 RenderableBase (LayerIds::Values layerId, const dv3 &ecefPosition, const Rendering::Materials::IMaterial *material, const VertexLayouts::VertexBinding &vertexBinding)
 
 RenderableBase (LayerIds::Values layerId, const dv3 &ecefPosition, const Rendering::Materials::IMaterial *material)
 
const SortKey GetSortKey () const
 
void SetLayer (LayerIds::Values layerId)
 
LayerIds::Values GetLayer () const
 
void SetUserDefined (u64 userDefined)
 
u64 GetUserDefined () const
 
void SetDepth (u64 depth)
 
u64 GetDepth () const
 
const Materials::IMaterialGetMaterial () const
 
virtual bool ShouldRender () const
 
void SetEcefPosition (const dv3 &ecefPosition)
 
const dv3GetEcefPosition () const
 
void SetModelViewProjection (const m44 &modelViewProjection)
 
const m44GetModelViewProjection () const
 

Protected Member Functions

void UpdateVertexBinding (Rendering::VertexLayouts::VertexBindingPool &vertexBindingPool)
 
- Protected Member Functions inherited from Eegeo::Rendering::RenderableBase
virtual void UpdateSortKeyForMaterial (const Materials::IMaterial *material)
 
void SetVertexBinding (const VertexLayouts::VertexBinding &binding)
 
const
VertexLayouts::VertexBinding
GetVertexBinding () const
 
- Protected Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

Protected Attributes

float m_alpha
 
v3 m_cameraRelativeModelOrigin
 
m44 m_worldMat
 
m44 m_inverseWorldMat
 
Meshm_pMesh
 
- Protected Attributes inherited from Eegeo::Rendering::RenderableBase
m44 m_modelViewProjection
 
dv3 m_ecefPosition
 
const
Rendering::Materials::IMaterial
m_material
 
const
VertexLayouts::VertexBinding
m_pVertexBinding
 
SortKey m_sortKey
 

The documentation for this class was generated from the following files: