AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
OpenGLPrerenderedString Class Reference

Classes

struct  Vertex
 

Public Member Functions

 OpenGLPrerenderedString (OpenGLRenderer *renderer, gl::VertexBuffer vertexBuffer, gl::IndexBuffer indexBuffer, int textWidth, int textHeight, OpenGLRenderer::FontEntryData *entryData, FontRendering fontRendering)
 
void draw () override
 
int getWidth () override
 
int getHeight () override
 

Signals and public fields

OpenGLRenderermRenderer
 
AOptional< gl::VaomVao
 
gl::VertexBuffer mVertexBuffer
 
gl::IndexBuffer mIndexBuffer
 
int mTextWidth
 
int mTextHeight
 
OpenGLRenderer::FontEntryDatamEntryData
 
FontRendering mFontRendering
 

Member Function Documentation

◆ draw()

void OpenGLPrerenderedString::draw ( )
inlineoverridevirtual

◆ getHeight()

int OpenGLPrerenderedString::getHeight ( )
inlineoverridevirtual

◆ getWidth()

int OpenGLPrerenderedString::getWidth ( )
inlineoverridevirtual

The documentation for this class was generated from the following file:
Inheritance diagram for OpenGLPrerenderedString:
Collaboration diagram for OpenGLPrerenderedString: