All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Eegeo::Text::BatchedTextRenderable Class Referenceabstract
Inheritance diagram for Eegeo::Text::BatchedTextRenderable:
Eegeo::Rendering::RenderableBase Eegeo::NonCopyable Eegeo::Text::TBatchedTextRenderable< TVertex > Eegeo::Text::TBatchedTextRenderable< Rendering::VertexTypes::ScreenTextVertex > Eegeo::Text::TBatchedTextRenderable< Rendering::VertexTypes::WorldTextVertex > Eegeo::Text::BatchedScreenTextRenderable Eegeo::Text::BatchedWorldTextRenderable

Public Member Functions

 BatchedTextRenderable (Rendering::Materials::IMaterial *pMaterial, const Rendering::VertexLayouts::VertexBinding *pVertexBinding, const Rendering::SortKey &sortKey, int vertexStrideBytes, const GlBuffer< u16 > &quadIndexBuffer)
 
virtual void SetTextAppearance (const Text::BatchedTextAppearance &textAppearance)
 
virtual const
Text::BatchedTextAppearance
GetTextAppearanceForCurrentRange () const
 
virtual bool ShouldRender () const
 
virtual void Finalize ()
 
virtual void Upload ()=0
 
virtual void Reset ()
 
bool IsHaloLayer () const
 
bool IsStencilMaskPass () const
 
bool NeedsShaderSetup () 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 void Render (Rendering::GLState &glState) const =0
 
void SetEcefPosition (const dv3 &ecefPosition)
 
const dv3GetEcefPosition () const
 
void SetModelViewProjection (const m44 &modelViewProjection)
 
const m44GetModelViewProjection () const
 

Static Public Member Functions

static Rendering::SortKey MakeSortKeyForLayer (Rendering::LayerIds::Values layerId, int subLayer, bool isHaloLayer)
 
static Rendering::SortKey MakeSortKey (const Rendering::Materials::IMaterial &material, const Rendering::SortKey &sortKeyForLayer)
 

Protected Member Functions

void Draw (Rendering::GLState &glState, int batchQuadOffset) const
 
virtual int GetVertexCount () const =0
 
virtual const void * GetVertexData (int quadOffset, int quadCount) const =0
 
- Protected Member Functions inherited from Eegeo::Rendering::RenderableBase
virtual void UpdateSortKeyForMaterial (const Materials::IMaterial *material)
 
virtual void OnMaterialChanged (const Rendering::Materials::IMaterial *pMaterial, Rendering::VertexLayouts::VertexBindingPool &vertexBindingPool)
 
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
 

Additional Inherited Members

- 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: