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

(1cd7e01c909499b4c4c6d7dd250cc67bbb962141)

#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 19 of file qopengltexture.cpp.

Function Documentation

◆ isCompressedFormat()

bool isCompressedFormat ( QOpenGLTexture::TextureFormat internalFormat)
static

Definition at line 939 of file qopengltexture.cpp.

◆ isNpot()

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

Definition at line 2884 of file qopengltexture.cpp.

◆ isSizedTextureFormat()

bool isSizedTextureFormat ( QOpenGLTexture::TextureFormat internalFormat)
static

Definition at line 289 of file qopengltexture.cpp.

◆ isTextureTargetMultisample()

bool isTextureTargetMultisample ( QOpenGLTexture::Target target)
static

Definition at line 437 of file qopengltexture.cpp.

◆ operator<<()

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

Definition at line 4810 of file qopengltexture.cpp.

◆ pixelFormatCompatibleWithInternalFormat()

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

Definition at line 483 of file qopengltexture.cpp.

◆ pixelTypeCompatibleWithInternalFormat()

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

Definition at line 760 of file qopengltexture.cpp.