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::v2 & | GetUVBoundsMin () const |
const Eegeo::v2 & | GetUVBoundsMax () const |
const Eegeo::v4 & | GetPositionBoundsMin () const |
const Eegeo::v4 & | GetPositionBoundsMax () const |
const Eegeo::v3 & | GetCameraRelativeModelOrigin () 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::CullingVolumeTree * | DeepCopyCullingVolumeTree () 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::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 | |
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 | |
NonCopyable & | operator= (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::CullingVolumeTree * | m_pCullingVolumeTree |
std::vector < Culling::IndexBufferRange > | m_visibleIndexRanges |
Protected Attributes inherited from Eegeo::Rendering::Renderables::MeshRenderable | |
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 |