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

#include <qopenglframebufferobject_p.h>

Collaboration diagram for QOpenGLFramebufferObjectPrivate:

Classes

struct  ColorAttachment

Public Member Functions

 QOpenGLFramebufferObjectPrivate ()
 ~QOpenGLFramebufferObjectPrivate ()
void init (QOpenGLFramebufferObject *q, const QSize &size, QOpenGLFramebufferObject::Attachment attachment, GLenum texture_target, GLenum internal_format, GLint samples=0, bool mipmap=false)
void initTexture (int idx)
void initColorBuffer (int idx, GLint *samples)
void initDepthStencilAttachments (QOpenGLContext *ctx, QOpenGLFramebufferObject::Attachment attachment)
bool checkFramebufferStatus (QOpenGLContext *ctx) const
GLuint fbo () const

Public Attributes

QOpenGLSharedResourceGuardfbo_guard
QOpenGLSharedResourceGuarddepth_buffer_guard
QOpenGLSharedResourceGuardstencil_buffer_guard
GLenum target
QSize dsSize
QOpenGLFramebufferObjectFormat format
int requestedSamples
uint valid: 1
QOpenGLFramebufferObject::Attachment fbo_attachment
QOpenGLExtensions funcs
QVarLengthArray< ColorAttachment, 8 > colorAttachments

Detailed Description

Definition at line 73 of file qopenglframebufferobject_p.h.

Constructor & Destructor Documentation

◆ QOpenGLFramebufferObjectPrivate()

QOpenGLFramebufferObjectPrivate::QOpenGLFramebufferObjectPrivate ( )
inline

Definition at line 76 of file qopenglframebufferobject_p.h.

References QOpenGLFramebufferObjectPrivate().

Referenced by QOpenGLFramebufferObjectPrivate().

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

◆ ~QOpenGLFramebufferObjectPrivate()

QOpenGLFramebufferObjectPrivate::~QOpenGLFramebufferObjectPrivate ( )
inline

Definition at line 79 of file qopenglframebufferobject_p.h.

Member Function Documentation

◆ checkFramebufferStatus()

bool QOpenGLFramebufferObjectPrivate::checkFramebufferStatus ( QOpenGLContext * ctx) const

Definition at line 391 of file qopenglframebufferobject.cpp.

◆ fbo()

GLuint QOpenGLFramebufferObjectPrivate::fbo ( ) const
inline

Definition at line 111 of file qopenglframebufferobject_p.h.

◆ init()

void QOpenGLFramebufferObjectPrivate::init ( QOpenGLFramebufferObject * q,
const QSize & size,
QOpenGLFramebufferObject::Attachment attachment,
GLenum texture_target,
GLenum internal_format,
GLint samples = 0,
bool mipmap = false )

◆ initColorBuffer()

void QOpenGLFramebufferObjectPrivate::initColorBuffer ( int idx,
GLint * samples )

Definition at line 594 of file qopenglframebufferobject.cpp.

◆ initDepthStencilAttachments()

void QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments ( QOpenGLContext * ctx,
QOpenGLFramebufferObject::Attachment attachment )

Definition at line 634 of file qopenglframebufferobject.cpp.

◆ initTexture()

void QOpenGLFramebufferObjectPrivate::initTexture ( int idx)

Definition at line 530 of file qopenglframebufferobject.cpp.

Member Data Documentation

◆ colorAttachments

QVarLengthArray<ColorAttachment, 8> QOpenGLFramebufferObjectPrivate::colorAttachments

Definition at line 109 of file qopenglframebufferobject_p.h.

◆ depth_buffer_guard

QOpenGLSharedResourceGuard* QOpenGLFramebufferObjectPrivate::depth_buffer_guard

Definition at line 91 of file qopenglframebufferobject_p.h.

◆ dsSize

QSize QOpenGLFramebufferObjectPrivate::dsSize

Definition at line 94 of file qopenglframebufferobject_p.h.

◆ fbo_attachment

QOpenGLFramebufferObject::Attachment QOpenGLFramebufferObjectPrivate::fbo_attachment

Definition at line 98 of file qopenglframebufferobject_p.h.

◆ fbo_guard

QOpenGLSharedResourceGuard* QOpenGLFramebufferObjectPrivate::fbo_guard

Definition at line 90 of file qopenglframebufferobject_p.h.

◆ format

QOpenGLFramebufferObjectFormat QOpenGLFramebufferObjectPrivate::format

Definition at line 95 of file qopenglframebufferobject_p.h.

◆ funcs

QOpenGLExtensions QOpenGLFramebufferObjectPrivate::funcs

Definition at line 99 of file qopenglframebufferobject_p.h.

◆ requestedSamples

int QOpenGLFramebufferObjectPrivate::requestedSamples

Definition at line 96 of file qopenglframebufferobject_p.h.

◆ stencil_buffer_guard

QOpenGLSharedResourceGuard* QOpenGLFramebufferObjectPrivate::stencil_buffer_guard

Definition at line 92 of file qopenglframebufferobject_p.h.

◆ target

GLenum QOpenGLFramebufferObjectPrivate::target

Definition at line 93 of file qopenglframebufferobject_p.h.

◆ valid

uint QOpenGLFramebufferObjectPrivate::valid

Definition at line 97 of file qopenglframebufferobject_p.h.


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