Public Member Functions | |
UnityInteriorHighlightRenderable (Rendering::LayerIds::Values layerId, int floorIndex, Rendering::Materials::IMaterial *material, Rendering::Mesh *pMesh, Culling::CullingVolumeTree *pCullingVolumeTree, const Rendering::VertexLayouts::VertexBinding &vertexBinding, Eegeo::dv3 ecefLocalOrigin, Eegeo::v4 positionBoundsMin, Eegeo::v4 positionBoundsMax, Eegeo::v2 uvBoundsMin, Eegeo::v2 uvBoundsMax, const std::string &renderableId, const Eegeo::Resources::Interiors::IInteriorsMaterialAssignmentObserver &materialAssignmentObserver, const float interiorTerrainHeight, bool ownsMesh, const std::string &interiorIdentifier, const std::string &meshName, const UnityCallbacks &unityCallbacks) | |
void | SetModelTransform (const m44 &modelToLocalEcefTransform) override |
void | SetDiffuseColor (const v4 &color) override |
void | SetColor (const v4 &color) override |
void | SetMaterial (const Rendering::Materials::IMaterial *pMaterial, Rendering::VertexLayouts::VertexBindingPool &vertexBindingPool) override |
Public Member Functions inherited from Eegeo::Rendering::Renderables::InteriorHighlightRenderable | |
InteriorHighlightRenderable (LayerIds::Values layerId, int floorIndex, Materials::IMaterial *material, Rendering::Mesh *pMesh, Culling::CullingVolumeTree *pCullingVolumeTree, const VertexLayouts::VertexBinding &vertexBinding, Eegeo::dv3 ecefLocalOrigin, Eegeo::v4 positionBoundsMin, Eegeo::v4 positionBoundsMax, Eegeo::v2 uvBoundsMin, Eegeo::v2 uvBoundsMax, const std::string &renderableId, const Eegeo::Resources::Interiors::IInteriorsMaterialAssignmentObserver &materialAssignmentObserver, const float interiorTerrainHeight, bool ownsMesh, const std::string &interiorIdentifier) | |
v4 | GetDiffuseColor () const |
v4 | GetCombinedColor () const |
void | SetHighlightBorderThickness (const float highlightBorderThickness) |
float | GetHighlightBorderThickness () const |
std::string | GetHighlightId () const |
bool | UpdateVisibility (const Eegeo::Geometry::Frustum &viewFrustum, Culling::CullingVolumeVisibilityUpdater &visibilityUpdater, float environmentScale) |
Public Member Functions inherited from Eegeo::Rendering::Renderables::InteriorRenderable | |
InteriorRenderable (LayerIds::Values layerId, int floorIndex, Materials::IMaterial *material, Rendering::Mesh *pMesh, Culling::CullingVolumeTree *pCullingVolumeTree, const VertexLayouts::VertexBinding &vertexBinding, Eegeo::dv3 ecefLocalOrigin, Eegeo::v4 positionBoundsMin, Eegeo::v4 positionBoundsMax, Eegeo::v2 uvBoundsMin, Eegeo::v2 uvBoundsMax, const std::string &renderableId, const Eegeo::Resources::Interiors::IInteriorsMaterialAssignmentObserver &materialAssignmentObserver, const float interiorTerrainHeight, bool ownsMesh, const std::string &interiorIdentifier) | |
virtual void | OnMaterialChanged (const Rendering::Materials::IMaterial *pMaterial, Rendering::VertexLayouts::VertexBindingPool &vertexBindingPool) |
const std::string & | GetRenderableId () const |
const v4 & | GetColor () const |
void | SetSaturation (float saturation) |
float | GetSaturation () const |
virtual bool | NeedsStencilMirrorDuplicates () const |
bool | IsStencilMirrorMask () const |
Resources::Interiors::InteriorsStencilMirrorType | GetStencilMirrorType () const |
v4 | GetStencilMirrorClearColor () const |
bool | NeedsBlend () const |
float | GetInteriorTerrainHeight () const |
const std::string & | GetInteriorId () const |
int | GetFloorIndex () const |
Resources::Interiors::InteriorsRenderableLayer::Type | GetMaterialRenderableLayer () const |
const Eegeo::v2 & | GetUVBoundsMin () const |
const Eegeo::v2 & | GetUVBoundsMax () const |
const Eegeo::v4 & | GetPositionBoundsMin () const |
const Eegeo::v4 & | GetPositionBoundsMax () const |
RenderState | CalcRenderState (const Rendering::RenderContext &renderContext, float environmentFlatteningScale) const |
void | SetRenderState (const RenderState &renderState) |
RenderState | GetRenderState () const |
void | SetNormalModelTransform (const m44 &normalToLocalEcefTransform) |
void | SetMaterialIsTranslucent (bool materialIsTranslucent) |
void | SetMaterialRenderableLayer (Eegeo::Resources::Interiors::InteriorsRenderableLayer::Type materialRenderableLayer) |
void | SetSortKeyTranslucency (bool depthSorted) |
void | SetStencilMirrorType (Resources::Interiors::InteriorsStencilMirrorType stencilMirrorType) |
void | SetStencilMirrorClearColor (const v3 &stencilMirrorClearColor) |
u32 | CalcSortKeyDepthOpaque () const |
u32 | CalcSortKeyDepthBlended (int drawOrderDepth) const |
bool | IsMaterialTranslucent () const |
m44 | GetModelTransform () 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) | |
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 |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from Eegeo::Rendering::Renderables::InteriorRenderable | |
static u32 | CalcSortKeyDepthOpaque (int floorIndex, Resources::Interiors::InteriorsStencilMirrorType stencilMirrorType) |
static u32 | CalcSortKeyDepthBlended (int floorIndex, Resources::Interiors::InteriorsRenderableLayer::Type renderableLayer, Resources::Interiors::InteriorsStencilMirrorType stencilMirrorType, int drawOrderDepth) |
Static Public Attributes inherited from Eegeo::Rendering::Renderables::InteriorHighlightRenderable | |
static const std::string | AreaHighlightPrefix = "entity_highlight " |
Protected Member Functions inherited from Eegeo::Rendering::Renderables::InteriorRenderable | |
m44 | CalcPositionUnpack () const |
m44 | GetNormalModelTransform () const |
Protected Attributes inherited from Eegeo::Rendering::Renderables::CulledMeshRenderable | |
Culling::CullingVolumeTree * | m_pCullingVolumeTree |
std::vector < Culling::IndexBufferRange > | m_visibleIndexRanges |