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

#include <qopengltextureuploader_p.h>

Collaboration diagram for QOpenGLTextureUploader:

Public Types

enum  BindOption {
  NoBindOption = 0x0000 , PremultipliedAlphaBindOption = 0x0001 , UseRedForAlphaAndLuminanceBindOption = 0x0002 , SRgbBindOption = 0x0004 ,
  PowerOfTwoBindOption = 0x0008
}

Static Public Member Functions

static qsizetype textureImage (GLenum target, const QImage &image, BindOptions options, QSize maxSize=QSize())

Detailed Description

Definition at line 26 of file qopengltextureuploader_p.h.

Member Enumeration Documentation

◆ BindOption

Enumerator
NoBindOption 
PremultipliedAlphaBindOption 
UseRedForAlphaAndLuminanceBindOption 
SRgbBindOption 
PowerOfTwoBindOption 

Definition at line 29 of file qopengltextureuploader_p.h.

Member Function Documentation

◆ textureImage()

QT_BEGIN_NAMESPACE qsizetype QOpenGLTextureUploader::textureImage ( GLenum target,
const QImage & image,
BindOptions options,
QSize maxSize = QSize() )
static

Definition at line 85 of file qopengltextureuploader.cpp.


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