Public Member Functions | |
MeshRenderable (LayerIds::Values layerId, Eegeo::dv3 ecefPosition, Materials::IMaterial *material, Rendering::Mesh *pMesh, const Rendering::VertexLayouts::VertexBinding &vertexBinding) | |
virtual void | OnMaterialChanged (const Rendering::Materials::IMaterial *pMaterial, Rendering::VertexLayouts::VertexBindingPool &vertexBindingPool) |
virtual void | Render (Rendering::GLState &glState) const |
Rendering::Mesh & | GetMesh () |
const Rendering::Mesh & | GetMesh () 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 |
virtual void | SetMaterial (const Rendering::Materials::IMaterial *pMaterial, Rendering::VertexLayouts::VertexBindingPool &vertexBindingPool) |
const Materials::IMaterial * | GetMaterial () const |
virtual bool | ShouldRender () const |
void | SetEcefPosition (const dv3 &ecefPosition) |
const dv3 & | GetEcefPosition () const |
void | SetModelViewProjection (const m44 &modelViewProjection) |
const m44 & | GetModelViewProjection () 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 | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Protected Attributes | |
Mesh * | m_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 |