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::ScreenTextRenderer Class Reference
Inheritance diagram for Eegeo::Text::ScreenTextRenderer:
Eegeo::NonCopyable

Public Types

typedef
TBatchedTextRenderableCache
< BatchedScreenTextRenderable,
IBatchedScreenTextRenderableFactory
BatchedScreenTextRenderableCache
 

Public Member Functions

 ScreenTextRenderer (TextRendererStateComponent *pTextRendererStateComponent, BatchedScreenTextRenderableCache *pBatchedScreenTextRenderableCache)
 
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 DrawShapedGlyph (const ShapedGlyph &shapedGlyph)
 
void DrawShapedGlyphs (const std::vector< Text::ShapedGlyph > &shapedGlyphs)
 
void Finalize ()
 
void Upload ()
 
void EnqueueRenderables (const Rendering::RenderContext &renderContext, Rendering::RenderQueue &renderQueue)
 
void Reset ()
 

Static Public Member Functions

static ScreenTextRendererCreate (Fonts::IFontMaterialSetFactory &fontMaterialSetFactory, FontMaterialCache &fontMaterialCache, IBatchedScreenTextRenderableFactory &batchedScreenTextRenderableFactory, BatchedScreenTextRenderable::VertexBufferType &screenTextVertexBuffer, 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: