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::PackedRenderable Class Reference
Inheritance diagram for Eegeo::Rendering::Renderables::PackedRenderable:
Eegeo::Rendering::Renderables::CulledMeshRenderable Eegeo::Rendering::Renderables::MeshRenderable Eegeo::Rendering::RenderableBase Eegeo::NonCopyable Eegeo::Rendering::Renderables::CustomLandmarkRenderable Eegeo::Rendering::Renderables::LightmappedRenderable Eegeo::Rendering::Renderables::PackedShadowRenderable Eegeo::Rendering::Renderables::WaterRenderable Eegeo::Unity::UnityLandmarkRenderable

Public Member Functions

 PackedRenderable (LayerIds::Values layerId, Materials::IMaterial *material, Rendering::Mesh *pMesh, Culling::CullingVolumeTree *pCullingVolumeTree, const VertexLayouts::VertexBinding &vertexBinding, Eegeo::dv3 ecefPosition, Eegeo::v4 positionBoundsMin, Eegeo::v4 positionBoundsMax, Eegeo::v2 uvBoundsMin, Eegeo::v2 uvBoundsMax)
 
virtual void Update (const Rendering::RenderContext &renderContext, float environmentFlatteningScale)
 
const Eegeo::v2GetUVBoundsMin () const
 
const Eegeo::v2GetUVBoundsMax () const
 
const Eegeo::v4GetPositionBoundsMin () const
 
const Eegeo::v4GetPositionBoundsMax () const
 
const Eegeo::v3GetCameraRelativeModelOrigin () const
 
- Public Member Functions inherited from Eegeo::Rendering::Renderables::CulledMeshRenderable
 CulledMeshRenderable (LayerIds::Values layerId, Eegeo::dv3 ecefPosition, Materials::IMaterial *material, Rendering::Mesh *pMesh, Culling::CullingVolumeTree *pCullingVolumeTree, const Rendering::VertexLayouts::VertexBinding &vertexBinding)
 
 CulledMeshRenderable (LayerIds::Values layerId, Eegeo::dv3 ecefPosition, Materials::IMaterial *material, Rendering::Mesh *pMesh, const std::vector< Culling::CullingVolume > &cullingVolumes, const Rendering::VertexLayouts::VertexBinding &vertexBinding)
 
const bool UpdateVisibility (const Rendering::RenderContext &renderContext, Culling::CullingVolumeVisibilityUpdater &visibilityUpdater, float environmentScale)
 
void SetVisible ()
 
void SetInvisible ()
 
const bool HasVisibleElements () const
 
const std::vector
< Culling::IndexBufferRange > & 
GetVisibleIndexRanges () const
 
virtual void Render (Rendering::GLState &glState) const
 
Culling::CullingVolumeTreeDeepCopyCullingVolumeTree () const
 
- Public Member Functions inherited from Eegeo::Rendering::Renderables::MeshRenderable
 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)
 
Rendering::MeshGetMesh ()
 
const Rendering::MeshGetMesh () 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::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

virtual void UpdateCachedFlatteningTransform (float environmentFlatteningScale)
 
- Protected Member Functions inherited from Eegeo::Rendering::Renderables::CulledMeshRenderable
void InitialiseVisibleIndexRanges ()
 
- Protected Member Functions inherited from Eegeo::Rendering::Renderables::MeshRenderable
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

m44 m_modelToWorldCached
 
Eegeo::v4 m_positionBoundsMin
 
Eegeo::v4 m_positionBoundsMax
 
Eegeo::v2 m_uvBoundsMin
 
Eegeo::v2 m_uvBoundsMax
 
Eegeo::v3 m_cameraRelativeModelOrigin
 
float m_cachedEnvironmentFlattenScale
 
- Protected Attributes inherited from Eegeo::Rendering::Renderables::CulledMeshRenderable
Culling::CullingVolumeTreem_pCullingVolumeTree
 
std::vector
< Culling::IndexBufferRange
m_visibleIndexRanges
 
- Protected Attributes inherited from Eegeo::Rendering::Renderables::MeshRenderable
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: