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 m44 & | GetInverseWorldMatrix () const |
const v3 & | GetCameraRelativeModelOrigin () 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::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 | |
float | m_alpha |
v3 | m_cameraRelativeModelOrigin |
m44 | m_worldMat |
m44 | m_inverseWorldMat |
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 |