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
QOpenGLVertexArrayObjectHelper Class Reference

#include <qopenglvertexarrayobject_p.h>

+ Collaboration diagram for QOpenGLVertexArrayObjectHelper:

Public Types

typedef GLuintarrays
 
typedef const GLuintarrays
 

Public Member Functions

bool isValid () const
 
void glGenVertexArrays (GLsizei n, GLuint *arrays) const
 
void glDeleteVertexArrays (GLsizei n, const GLuint *arrays) const
 
void glBindVertexArray (GLuint array) const
 
GLboolean glIsVertexArray (GLuint array) const
 
typedef void (QOPENGLF_APIENTRYP qt_GenVertexArrays_t)(GLsizei n
 
typedef void (QOPENGLF_APIENTRYP qt_DeleteVertexArrays_t)(GLsizei n
 
typedef void (QOPENGLF_APIENTRYP qt_BindVertexArray_t)(GLuint array)
 
typedef GLboolean (QOPENGLF_APIENTRYP qt_IsVertexArray_t)(GLuint array)
 

Static Public Member Functions

static Q_OPENGL_EXPORT QOpenGLVertexArrayObjectHelpervertexArrayObjectHelperForContext (QOpenGLContext *context)
 

Public Attributes

qt_GenVertexArrays_t GenVertexArrays
 
qt_DeleteVertexArrays_t DeleteVertexArrays
 
qt_BindVertexArray_t BindVertexArray
 
qt_IsVertexArray_t IsVertexArray
 

Detailed Description

Definition at line 27 of file qopenglvertexarrayobject_p.h.

Member Typedef Documentation

◆ arrays [1/2]

◆ arrays [2/2]

Member Function Documentation

◆ glBindVertexArray()

void QOpenGLVertexArrayObjectHelper::glBindVertexArray ( GLuint array) const
inline

Definition at line 61 of file qopenglvertexarrayobject_p.h.

References BindVertexArray.

Referenced by QQuickOpenGLUtils::resetOpenGLState().

+ Here is the caller graph for this function:

◆ GLboolean()

typedef QOpenGLVertexArrayObjectHelper::GLboolean ( QOPENGLF_APIENTRYP qt_IsVertexArray_t)

◆ glDeleteVertexArrays()

void QOpenGLVertexArrayObjectHelper::glDeleteVertexArrays ( GLsizei n,
const GLuint * arrays ) const
inline

Definition at line 56 of file qopenglvertexarrayobject_p.h.

References DeleteVertexArrays.

◆ glGenVertexArrays()

void QOpenGLVertexArrayObjectHelper::glGenVertexArrays ( GLsizei n,
GLuint * arrays ) const
inline

Definition at line 51 of file qopenglvertexarrayobject_p.h.

References GenVertexArrays.

◆ glIsVertexArray()

GLboolean QOpenGLVertexArrayObjectHelper::glIsVertexArray ( GLuint array) const
inline

Definition at line 66 of file qopenglvertexarrayobject_p.h.

References IsVertexArray.

◆ isValid()

bool QOpenGLVertexArrayObjectHelper::isValid ( ) const
inline

Definition at line 46 of file qopenglvertexarrayobject_p.h.

References BindVertexArray, DeleteVertexArrays, GenVertexArrays, and IsVertexArray.

Referenced by QQuickOpenGLUtils::resetOpenGLState().

+ Here is the caller graph for this function:

◆ vertexArrayObjectHelperForContext()

QOpenGLVertexArrayObjectHelper * QOpenGLVertexArrayObjectHelper::vertexArrayObjectHelperForContext ( QOpenGLContext * context)
static

Definition at line 33 of file qopenglvertexarrayobject.cpp.

References context, QOpenGLContextPrivate::get(), Q_ASSERT, and vertexArrayObjectHelperDestroyCallback().

Referenced by StateSaver::StateSaver(), QOpenGLVertexArrayObjectPrivate::create(), and QQuickOpenGLUtils::resetOpenGLState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ void() [1/3]

typedef QOpenGLVertexArrayObjectHelper::void ( QOPENGLF_APIENTRYP qt_BindVertexArray_t)

◆ void() [2/3]

typedef QOpenGLVertexArrayObjectHelper::void ( QOPENGLF_APIENTRYP qt_DeleteVertexArrays_t)

◆ void() [3/3]

typedef QOpenGLVertexArrayObjectHelper::void ( QOPENGLF_APIENTRYP qt_GenVertexArrays_t)

Member Data Documentation

◆ BindVertexArray

qt_BindVertexArray_t QOpenGLVertexArrayObjectHelper::BindVertexArray

Definition at line 79 of file qopenglvertexarrayobject_p.h.

Referenced by glBindVertexArray(), and isValid().

◆ DeleteVertexArrays

qt_DeleteVertexArrays_t QOpenGLVertexArrayObjectHelper::DeleteVertexArrays

Definition at line 78 of file qopenglvertexarrayobject_p.h.

Referenced by glDeleteVertexArrays(), and isValid().

◆ GenVertexArrays

qt_GenVertexArrays_t QOpenGLVertexArrayObjectHelper::GenVertexArrays

Definition at line 77 of file qopenglvertexarrayobject_p.h.

Referenced by glGenVertexArrays(), and isValid().

◆ IsVertexArray

qt_IsVertexArray_t QOpenGLVertexArrayObjectHelper::IsVertexArray

Definition at line 80 of file qopenglvertexarrayobject_p.h.

Referenced by glIsVertexArray(), and isValid().


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