73 data.operator=(rhs.data);
98 return data->alignment;
116 return data->skipImages;
134 return data->skipRows;
152 return data->skipPixels;
170 return data->imageHeight;
188 return data->rowLength;
199 data->lsbFirst = lsbFirst;
207 return data->lsbFirst;
217 data->swapBytes = swapBytes;
225 return data->swapBytes;
QOpenGLPixelTransferOptionsData()
void setSkipPixels(int skipPixels)
Sets the number of pixels that are skipped to skipPixels.
bool isLeastSignificantBitFirst() const
QOpenGLPixelTransferOptions & operator=(const QOpenGLPixelTransferOptions &)
void setRowLength(int rowLength)
Sets the number of pixels in a row to rowLength.
void setImageHeight(int imageHeight)
Sets the image height for 3D textures to imageHeight.
void setSwapBytesEnabled(bool swapBytes)
swapBytes specifies if the byte ordering for multibyte components is reversed.
~QOpenGLPixelTransferOptions()
Destructor.
QOpenGLPixelTransferOptions()
Constructs a new QOpenGLPixelTransferOptions instance with the default settings.
void setSkipRows(int skipRows)
Sets the number of rows that are skipped to skipRows.
bool isSwapBytesEnabled() const
void setLeastSignificantByteFirst(bool lsbFirst)
lsbFirst specifies if bits within a byte are ordered from least to most significat.
void setAlignment(int alignment)
Sets the alignment requirements for each pixel row.
void setSkipImages(int skipImages)
Sets the number of images that are skipped to skipImages.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data