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
qopengltexture.cpp File Reference

(abdf62f63e5a5cc26c950933831049229efd74a3)

#include "qopengltexture.h"
#include "qopengltexture_p.h"
#include "qopengltexturehelper_p.h"
#include "qopenglfunctions.h"
#include <QtGui/qcolor.h>
#include <QtGui/qopenglcontext.h>
#include <QtCore/qdebug.h>
#include <private/qobject_p.h>
#include <private/qopenglcontext_p.h>
#include "moc_qopengltexture.cpp"
Include dependency graph for qopengltexture.cpp:

Go to the source code of this file.

Macros

#define GL_TEXTURE_WRAP_R   0x8072

Functions

static bool isSizedTextureFormat (QOpenGLTexture::TextureFormat internalFormat)
static bool isTextureTargetMultisample (QOpenGLTexture::Target target)
static QOpenGLTexture::PixelFormat pixelFormatCompatibleWithInternalFormat (QOpenGLTexture::TextureFormat internalFormat)
static QOpenGLTexture::PixelType pixelTypeCompatibleWithInternalFormat (QOpenGLTexture::TextureFormat internalFormat)
static bool isCompressedFormat (QOpenGLTexture::TextureFormat internalFormat)
static bool isNpot (int width, int height=1, int depth=1)
QDebug operator<< (QDebug debug, const QOpenGLTexture *t)

Macro Definition Documentation

◆ GL_TEXTURE_WRAP_R

#define GL_TEXTURE_WRAP_R   0x8072

Definition at line 20 of file qopengltexture.cpp.

Function Documentation

◆ isCompressedFormat()

bool isCompressedFormat ( QOpenGLTexture::TextureFormat internalFormat)
static

Definition at line 940 of file qopengltexture.cpp.

◆ isNpot()

bool isNpot ( int width,
int height = 1,
int depth = 1 )
static

Definition at line 2885 of file qopengltexture.cpp.

◆ isSizedTextureFormat()

bool isSizedTextureFormat ( QOpenGLTexture::TextureFormat internalFormat)
static

Definition at line 290 of file qopengltexture.cpp.

◆ isTextureTargetMultisample()

bool isTextureTargetMultisample ( QOpenGLTexture::Target target)
static

Definition at line 438 of file qopengltexture.cpp.

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QOpenGLTexture * t )

Definition at line 4811 of file qopengltexture.cpp.

◆ pixelFormatCompatibleWithInternalFormat()

QOpenGLTexture::PixelFormat pixelFormatCompatibleWithInternalFormat ( QOpenGLTexture::TextureFormat internalFormat)
static

Definition at line 484 of file qopengltexture.cpp.

◆ pixelTypeCompatibleWithInternalFormat()

QOpenGLTexture::PixelType pixelTypeCompatibleWithInternalFormat ( QOpenGLTexture::TextureFormat internalFormat)
static

Definition at line 761 of file qopengltexture.cpp.