21 Font(std::shared_ptr<ProgramFactory>
const& factory,
unsigned int width,
unsigned int height,
22 char const* texels,
float const* characterData,
unsigned int maxMessageLength);
25 inline std::shared_ptr<VertexBuffer>
const& GetVertexBuffer()
const;
26 inline std::shared_ptr<IndexBuffer>
const& GetIndexBuffer()
const;
27 inline std::shared_ptr<TextEffect>
const& GetTextEffect()
const;
30 void Typeset(
int viewportWidth,
int viewportHeight,
int x,
int y,
39 float mCharacterData[257];
std::shared_ptr< VertexBuffer > const & GetVertexBuffer() const
std::shared_ptr< TextEffect > const & GetTextEffect() const
GLsizei const GLchar *const * string
GLuint GLsizei const GLchar * message
static std::string const msGLSLVSSource
GLint GLsizei GLsizei height
static std::string const msGLSLPSSource
std::shared_ptr< IndexBuffer > const & GetIndexBuffer() const
std::shared_ptr< IndexBuffer > mIndexBuffer
std::shared_ptr< Texture2 > mTexture
static std::string const msHLSLSource
std::shared_ptr< VertexBuffer > mVertexBuffer
std::shared_ptr< TextEffect > mTextEffect
unsigned int mMaxMessageLength