All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Eegeo::Text::WorldTextRenderer Class Reference
Inheritance diagram for Eegeo::Text::WorldTextRenderer:
Eegeo::NonCopyable

Public Types

typedef
TBatchedTextRenderableCache
< BatchedWorldTextRenderable,
IBatchedWorldTextRenderableFactory
BatchedWorldTextRenderableCache
 

Public Member Functions

 WorldTextRenderer (TextRendererStateComponent *pTextRendererStateComponent, BatchedWorldTextRenderableCache *pBatchedWorldTextRenderableCache)
 
void SetFontInstance (const Fonts::FontInstance *pFontInstance)
 
void SetDefaultState ()
 
void SetTextSize (float pixelHeight)
 
void SetGlyphColor (const v4 &color)
 
void SetOutlineColor (const v4 &color)
 
void SetHaloStyle (const v4 &color, float haloWidth, float haloHardness)
 
void SetTransform (const v2 &translate, const v2 &rotate, const v2 &scale)
 
void SetDepthTest (bool depthTest)
 
void SetStencilTest (bool stencilTest)
 
void SetStencilFunc (GLenum stencilFunc, int stencilRef, u32 stencilMask)
 
void SetStencilMaskedStyle (bool enable, GLenum stencilFunc, const v4 &glyphColor, const v4 &haloColor)
 
void SetRenderLayer (Rendering::LayerIds::Values layer, int subLayer)
 
void SetAlpha (float alpha)
 
void SetModelToWorldTransform (const m44 &transform)
 
void DrawShapedGlyph (const ShapedGlyph &shapedGlyph)
 
void DrawShapedGlyphs (const std::vector< Text::ShapedGlyph > &shapedGlyphs)
 
void EnqueueRenderables (const Rendering::RenderContext &renderContext, Rendering::RenderQueue &renderQueue)
 
void Finalize ()
 
void Upload ()
 
void Reset ()
 

Static Public Member Functions

static WorldTextRendererCreate (Fonts::IFontMaterialSetFactory &fontMaterialSetFactory, FontMaterialCache &fontMaterialCache, IBatchedWorldTextRenderableFactory &batchedWorldTextRenderableFactory, BatchedWorldTextRenderable::VertexBufferType &worldTextVertexBuffer, bool enableSupersampling)
 

Additional Inherited Members

- Private Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

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