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::TextRenderable Class Reference
Inheritance diagram for Eegeo::Rendering::Renderables::TextRenderable:
Eegeo::Rendering::Renderables::MeshRenderable Eegeo::Rendering::RenderableBase Eegeo::NonCopyable Eegeo::Resources::PlaceNames::PlaceNameRenderable

Public Member Functions

 TextRenderable (LayerIds::Values layerId, Materials::IMaterial *material, const VertexLayouts::VertexBinding &vertexBinding, Rendering::Mesh *pMesh, const Eegeo::dv3 &ecefPosition)
 
v4 GetForegroundColour () const
 
v4 GetShadowColour () const
 
v4 GetOutlineColour () const
 
v3 GetScale () const
 
float GetAlpha () const
 
float GetHaloWidth () const
 
float GetHaloHardness () const
 
void SetForegroundColour (const v4 &rgba)
 
void SetShadowColour (const v4 &rgba)
 
void SetOutlineColour (const v4 &rgba)
 
void SetScale (v3 scale)
 
void SetAlpha (float alpha)
 
void SetHaloWidth (float haloWidth)
 
void SetHaloHardness (float haloHardness)
 
void SetIsSdf (bool isSdf)
 
bool IsHaloPass () const
 
void Render (Rendering::GLState &glState) 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

bool NeedsHaloPass () const
 
- 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

Eegeo::v3 m_scale
 
Eegeo::v4 m_foregroundColour
 
Eegeo::v4 m_shadowColour
 
Eegeo::v4 m_outlineColour
 
float m_fadeAlpha
 
float m_haloWidth
 
float m_haloHardness
 
bool m_isSdf
 
bool * m_pIsHaloPass
 
- 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: