All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Eegeo::TextMeshes::Internal::TextMeshGenerator Class Referenceabstract
Inheritance diagram for Eegeo::TextMeshes::Internal::TextMeshGenerator:
Eegeo::NonCopyable Eegeo::TextMeshes::Internal::InstancedTextMeshGenerator Eegeo::TextMeshes::Internal::PreTransformedTextMeshGenerator

Public Member Functions

virtual void Begin (const Fonts::FontInstance *pFont, size_t initialCharacterCapacity)
 
virtual void Reserve (size_t characterCount)
 
virtual bool HasValidGeometry () const
 
virtual void AddText (const std::vector< u32 > &textUtf32, const Eegeo::m44 &transform, float fontSize, float xOffset, float yOffset, float altitudeOffset, float &out_endX)
 
virtual void AddCustomQuads (const std::vector< Rendering::VertexTypes::TextVertex > &vertices, int quadCount, int customGeometryPageIndex)
 
virtual void GenerateMeshes (bool shadowed, bool doubleSided, float shadowOffsetMeters, const v3 &up, Rendering::MeshFactories::TextMeshFactory &textMeshFactory, const std::string &debugName, const Space::CubeMap::CubeMapCellInfo &cellInfo, TextMeshBuilderResult &out_result)
 
- Public Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

Protected Member Functions

virtual void AddTextGeometry (std::vector< Internal::CharacterEntry >::const_iterator characterRangeBegin, int characterCount, const v3 &up, const m44 &reverseSideTransform, float shadowParam, float z)=0
 

Protected Attributes

std::deque< Internal::StringEntrym_stringEntries
 
std::vector
< Internal::CharacterEntry
m_characterEntries
 
std::vector< int > m_pageCharacterCounts
 
Internal::ScratchGeometry m_scratchGeometry
 
std::vector< Geometry::Bounds2Dm_scratchBounds
 
std::vector
< Rendering::VertexTypes::TextVertex
m_customVertices
 
int m_customGeometryPageIndex
 
const Fonts::FontInstancem_pFont
 
float m_oneOverFontHeight
 
float m_oneOverScaleW
 
float m_oneOverScaleH
 

The documentation for this class was generated from the following files: