Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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

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 QOpenGLGlyphTexture(), m_height, and m_width.

Referenced by QOpenGLGlyphTexture().

Here is the call graph for this function:
Here is the caller 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.

◆ invalidateResource()

void QOpenGLGlyphTexture::invalidateResource ( )
inlineoverridevirtual

Implements QOpenGLSharedResource.

Definition at line 60 of file qopengltextureglyphcache_p.h.

References m_height, and m_width.

Member Data Documentation

◆ m_fbo

GLuint QOpenGLGlyphTexture::m_fbo

Definition at line 69 of file qopengltextureglyphcache_p.h.

◆ m_height

int QOpenGLGlyphTexture::m_height

Definition at line 71 of file qopengltextureglyphcache_p.h.

Referenced by QOpenGLGlyphTexture(), and invalidateResource().

◆ m_texture

GLuint QOpenGLGlyphTexture::m_texture

Definition at line 68 of file qopengltextureglyphcache_p.h.

◆ m_width

int QOpenGLGlyphTexture::m_width

Definition at line 70 of file qopengltextureglyphcache_p.h.

Referenced by QOpenGLGlyphTexture(), and invalidateResource().


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