Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenGLGlyphTexture Class Reference

#include <qopengltextureglyphcache_p.h>

+ Inheritance diagram for QOpenGLGlyphTexture:
+ Collaboration diagram for QOpenGLGlyphTexture:

Public Member Functions

 QOpenGLGlyphTexture (QOpenGLContext *ctx)
 
void freeResource (QOpenGLContext *context) override
 
void invalidateResource () override
 
- Public Member Functions inherited from QOpenGLSharedResource
 QOpenGLSharedResource (QOpenGLContextGroup *group)
 
virtual ~QOpenGLSharedResource ()=0
 
QOpenGLContextGroupgroup () const
 
void free ()
 

Public Attributes

GLuint m_texture
 
GLuint m_fbo
 
int m_width
 
int m_height
 

Additional Inherited Members

Detailed Description

Definition at line 32 of file qopengltextureglyphcache_p.h.

Constructor & Destructor Documentation

◆ QOpenGLGlyphTexture()

QOpenGLGlyphTexture::QOpenGLGlyphTexture ( QOpenGLContext * ctx)
inlineexplicit

Definition at line 35 of file qopengltextureglyphcache_p.h.

References QOpenGLFunctions::glGenFramebuffers(), m_fbo, and qDebug.

+ Here is the call graph for this function:

Member Function Documentation

◆ freeResource()

void QOpenGLGlyphTexture::freeResource ( QOpenGLContext * context)
inlineoverridevirtual

Implements QOpenGLSharedResource.

Definition at line 48 of file qopengltextureglyphcache_p.h.

References context, m_fbo, m_height, m_texture, m_width, and qDebug.

◆ invalidateResource()

void QOpenGLGlyphTexture::invalidateResource ( )
inlineoverridevirtual

Implements QOpenGLSharedResource.

Definition at line 60 of file qopengltextureglyphcache_p.h.

References m_fbo, m_height, m_texture, and m_width.

Member Data Documentation

◆ m_fbo

◆ m_height

◆ m_texture

◆ m_width


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