PythonQt.QtGui.QOpenGLTexture · declarations 008
Back to PythonQt.QtGui.QOpenGLTexture
isFixedSamplePositions
isFixedSamplePositions() -> bool
X.isFixedSamplePositions() -> bool
Supplemental documentation: Qt 5 reference:
bool QOpenGLTexture::isFixedSamplePositions() const
Returns whether this texture uses a fixed pattern of multisample samples. If storage has not yet been allocated for this texture then this function returns the requested fixed sample position setting.
For texture targets that do not support multisampling this will return true.
See also setFixedSamplePositions() and isStorageAllocated().
Upstream PySide2 reference signatures (binding differences may apply):
isFixedSamplePositions(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#isFixedSamplePositions
isStorageAllocated
isStorageAllocated() -> bool
X.isStorageAllocated() -> bool
Supplemental documentation: Qt 5 reference:
bool QOpenGLTexture::isStorageAllocated() const
Returns true if server-side storage for this texture as been allocated.
The texture format, dimensions, mipmap levels and array layers cannot be altered once storage ihas been allocated.
See also allocateStorage(), setSize(), setMipLevels(), setLayers(), and setFormat().
Upstream PySide2 reference signatures (binding differences may apply):
isStorageAllocated(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#isStorageAllocated
isTextureView
isTextureView() -> bool
X.isTextureView() -> bool
Supplemental documentation: Qt 5 reference:
bool QOpenGLTexture::isTextureView() const
Returns true if this texture object is actually a view onto another texture object.
See also createTextureView().
Upstream PySide2 reference signatures (binding differences may apply):
isTextureView(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#isTextureView
layers
layers() -> int
X.layers() -> int
Supplemental documentation: Qt 5 reference:
int QOpenGLTexture::layers() const
Returns the number of array layers for this texture. If storage has not yet been allocated for this texture then this function returns the requested number of array layers.
For texture targets that do not support array layers this will return 1.
See also setLayers() and isStorageAllocated().
Upstream PySide2 reference signatures (binding differences may apply):
layers(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#layers
levelOfDetailRange
levelOfDetailRange() -> Any
X.levelOfDetailRange()
Supplemental documentation: Qt 5 reference:
QPair\<float, float> QOpenGLTexture::levelOfDetailRange() const
Returns the minimum and maximum level of detail parameters.
See also setLevelOfDetailRange(), minimumLevelOfDetail(), and maximumLevelOfDetail().
Upstream PySide2 reference signatures (binding differences may apply):
levelOfDetailRange(self) -> typing.Tuple[float, float]
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#levelOfDetailRange
levelofDetailBias
levelofDetailBias() -> float
X.levelofDetailBias() -> float
Supplemental documentation: Qt 5 reference:
float QOpenGLTexture::levelofDetailBias() const
Returns the level of detail bias parameter.
See also setLevelofDetailBias().
Upstream PySide2 reference signatures (binding differences may apply):
levelofDetailBias(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#levelofDetailBias
magnificationFilter
magnificationFilter() -> Any
X.magnificationFilter()
Supplemental documentation: Qt 5 reference:
QOpenGLTexture::Filter QOpenGLTexture::magnificationFilter() const
Returns the magnification filter.
See also setMagnificationFilter().
Upstream PySide2 reference signatures (binding differences may apply):
magnificationFilter(self) -> PySide2.QtGui.QOpenGLTexture.Filter
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#magnificationFilter
maximumAnisotropy
maximumAnisotropy() -> float
X.maximumAnisotropy() -> float
Supplemental documentation: Qt 5 reference:
float QOpenGLTexture::maximumAnisotropy() const
Returns the maximum level of anisotropy to be accounted for when performing texture lookups. This requires the GL_EXT_texture_filter_anisotropic extension.
See also setMaximumAnisotropy().
Upstream PySide2 reference signatures (binding differences may apply):
maximumAnisotropy(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#maximumAnisotropy
maximumLevelOfDetail
maximumLevelOfDetail() -> float
X.maximumLevelOfDetail() -> float
Supplemental documentation: Qt 5 reference:
float QOpenGLTexture::maximumLevelOfDetail() const
Returns the maximum level of detail parameter.
See also setMaximumLevelOfDetail(), minimumLevelOfDetail(), and levelOfDetailRange().
Upstream PySide2 reference signatures (binding differences may apply):
maximumLevelOfDetail(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#maximumLevelOfDetail
maximumMipLevels
maximumMipLevels() -> int
X.maximumMipLevels() -> int
Supplemental documentation: Qt 5 reference:
int QOpenGLTexture::maximumMipLevels() const
Returns the maximum number of mipmap levels that this texture can have given the current dimensions.
See also setMipLevels(), mipLevels(), and setSize().
Upstream PySide2 reference signatures (binding differences may apply):
maximumMipLevels(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#maximumMipLevels
minMagFilters
minMagFilters() -> Any
X.minMagFilters()
Supplemental documentation: Qt 5 reference:
QPair\<QOpenGLTexture::Filter, QOpenGLTexture::Filter> QOpenGLTexture::minMagFilters() const
Returns the current minification and magnification filters.
See also setMinMagFilters().
Upstream PySide2 reference signatures (binding differences may apply):
minMagFilters(self) -> typing.Tuple[PySide2.QtGui.QOpenGLTexture.Filter, PySide2.QtGui.QOpenGLTexture.Filter]
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#minMagFilters
minificationFilter
minificationFilter() -> Any
X.minificationFilter()
Supplemental documentation: Qt 5 reference:
QOpenGLTexture::Filter QOpenGLTexture::minificationFilter() const
Returns the minification filter.
See also setMinificationFilter().
Upstream PySide2 reference signatures (binding differences may apply):
minificationFilter(self) -> PySide2.QtGui.QOpenGLTexture.Filter
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#minificationFilter
minimumLevelOfDetail
minimumLevelOfDetail() -> float
X.minimumLevelOfDetail() -> float
Supplemental documentation: Qt 5 reference:
float QOpenGLTexture::minimumLevelOfDetail() const
Returns the minimum level of detail parameter.
See also setMinimumLevelOfDetail(), maximumLevelOfDetail(), and levelOfDetailRange().
Upstream PySide2 reference signatures (binding differences may apply):
minimumLevelOfDetail(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#minimumLevelOfDetail
mipBaseLevel
mipBaseLevel() -> int
X.mipBaseLevel() -> int
Supplemental documentation: Qt 5 reference:
int QOpenGLTexture::mipBaseLevel() const
Returns the mipmap base level used for all texture lookups with this texture. The default is 0.
See also setMipBaseLevel(), mipMaxLevel(), and mipLevelRange().
Upstream PySide2 reference signatures (binding differences may apply):
mipBaseLevel(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#mipBaseLevel
mipLevelRange
mipLevelRange() -> Any
X.mipLevelRange()
Supplemental documentation: Qt 5 reference:
QPair\<int, int> QOpenGLTexture::mipLevelRange() const
Returns the range of mipmap levels that can be used for texture lookups with this texture.
See also setMipLevelRange(), mipBaseLevel(), and mipMaxLevel().
Upstream PySide2 reference signatures (binding differences may apply):
mipLevelRange(self) -> typing.Tuple[int, int]
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#mipLevelRange
mipLevels
mipLevels() -> int
X.mipLevels() -> int
Supplemental documentation: Qt 5 reference:
int QOpenGLTexture::mipLevels() const
Returns the number of mipmap levels for this texture. If storage has not yet been allocated for this texture it returns the requested number of mipmap levels.
See also setMipLevels(), maximumMipLevels(), and isStorageAllocated().
Upstream PySide2 reference signatures (binding differences may apply):
mipLevels(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#mipLevels
mipMaxLevel
mipMaxLevel() -> int
X.mipMaxLevel() -> int
Supplemental documentation: Qt 5 reference:
int QOpenGLTexture::mipMaxLevel() const
Returns the mipmap maximum level used for all texture lookups with this texture.
See also setMipMaxLevel(), mipBaseLevel(), and mipLevelRange().
Upstream PySide2 reference signatures (binding differences may apply):
mipMaxLevel(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#mipMaxLevel
release
release(unit: Any, reset: Any) -> None
X.release(unit, reset)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::release()
Unbinds this texture from the currently active texture unit.
See also bind().
void QOpenGLTexture::release(uint unit, QOpenGLTexture::TextureUnitReset reset \= DontResetTextureUnit)
Unbinds this texture from texture unit unit.
If parameter reset is true then this function will restore the active unit to the
texture unit that was active upon entry.
Upstream PySide2 reference signatures (binding differences may apply):
release(self) -> None
release(self, unit: int, reset: PySide2.QtGui.QOpenGLTexture.TextureUnitReset=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#release
samples
samples() -> int
X.samples() -> int
Supplemental documentation: Qt 5 reference:
int QOpenGLTexture::samples() const
Returns the number of multisample sample points for this texture. If storage has not yet been allocated for this texture then this function returns the requested number of samples.
For texture targets that do not support multisampling this will return 0.
See also setSamples() and isStorageAllocated().
Upstream PySide2 reference signatures (binding differences may apply):
samples(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#samples
setAutoMipMapGenerationEnabled
setAutoMipMapGenerationEnabled(enabled: bool) -> None
X.setAutoMipMapGenerationEnabled(enabled)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setAutoMipMapGenerationEnabled(bool enabled)
If enabled is true, enables automatic mipmap generation for this texture object to
occur whenever the level 0 mipmap data is set via
setData().
The automatic mipmap generation is enabled by default.
Note: Mipmap generation is not supported for compressed textures with OpenGL ES 2.0.
See also isAutoMipMapGenerationEnabled() and generateMipMaps().
Upstream PySide2 reference signatures (binding differences may apply):
setAutoMipMapGenerationEnabled(self, enabled: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setAutoMipMapGenerationEnabled
setBorderColor
setBorderColor(r: Any, g: Any, b: Any, a: Any) -> None
X.setBorderColor(r, g, b, a)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setBorderColor(QColor color)
Sets the border color of the texture to color.
Note: This function has no effect on Mac and Qt built for OpenGL ES 2.
See also borderColor().
void QOpenGLTexture::setBorderColor(float r, float g, float b, float a)
Sets the color red to r, green to g, blue to b, and a to the alpha value.
This is an overloaded function.
void QOpenGLTexture::setBorderColor(int r, int g, int b, int a)
Sets the color red to r, green to g, blue to b, and the alpha value to a.
This is an overloaded function.
void QOpenGLTexture::setBorderColor(uint r, uint g, uint b, uint a)
Sets the color red to r, green to g, blue to b, and the alpha value to a.
This is an overloaded function.
Upstream PySide2 reference signatures (binding differences may apply):
setBorderColor(self, color: PySide2.QtGui.QColor) -> None
setBorderColor(self, r: float, g: float, b: float, a: float) -> None
setBorderColor(self, r: int, g: int, b: int, a: int) -> None
setBorderColor(self, r: int, g: int, b: int, a: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setBorderColor
setComparisonFunction
setComparisonFunction(function: Any) -> None
X.setComparisonFunction(function)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setComparisonFunction(QOpenGLTexture::ComparisonFunction function)
Sets the texture comparison function on this texture to function. The texture comparison function is used by shadow samplers when sampling a depth texture.
This function was introduced in Qt 5.5.
See also comparisonFunction().
Upstream PySide2 reference signatures (binding differences may apply):
setComparisonFunction(self, function: PySide2.QtGui.QOpenGLTexture.ComparisonFunction) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setComparisonFunction
setComparisonMode
setComparisonMode(mode: Any) -> None
X.setComparisonMode(mode)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setComparisonMode(QOpenGLTexture::ComparisonMode mode)
Sets the texture comparison mode on this texture to mode. The texture comparison mode is used by shadow samplers when sampling a depth texture.
This function was introduced in Qt 5.5.
See also comparisonMode().
Upstream PySide2 reference signatures (binding differences may apply):
setComparisonMode(self, mode: PySide2.QtGui.QOpenGLTexture.ComparisonMode) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setComparisonMode
setData
setData(image: Any, genMipMaps: Any) -> None
X.setData(image, genMipMaps)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
Uploads pixel data for this texture object mipLevel, array layer, and cubeFace. Storage must have been allocated before uploading pixel data. Some overloads of setData() will set appropriate dimensions, mipmap levels, and array layers and then allocate storage for you if they have enough information to do so. This will be noted in the function documentation.
The structure of the pixel data pointed to by data is specified by sourceFormat and sourceType. The pixel data upload can optionally be controlled by options.
If using a compressed format() then you should use setCompressedData() instead of this function.
This function was introduced in Qt 5.3.
See also setCompressedData().
void QOpenGLTexture::setData(int mipLevel, int layer, int layerCount, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
Parameter layerCount is the number of layers in a texture array that are being uploaded/populated by this call.
This function was introduced in Qt 5.9.
void QOpenGLTexture::setData(int mipLevel, int layer, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This function was introduced in Qt 5.3.
void QOpenGLTexture::setData(int mipLevel, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This function was introduced in Qt 5.3.
void QOpenGLTexture::setData(QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This function was introduced in Qt 5.3.
void QOpenGLTexture::setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This overload is to be used to update a part of the texture. Parameters xOffset, yOffset, zOffset specify the texel offsets within the texture. Parameters width, height and depth specify the dimensions of the sub image.
The structure of the pixel data pointed to by data is specified by sourceFormat and sourceType. The pixel data upload can optionally be controlled by options.
This function was introduced in Qt 5.14.
void QOpenGLTexture::setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This overload is to be used to update a part of the texture. Parameters xOffset, yOffset, zOffset specify the texel offsets within the texture. Parameters width, height and depth specify the dimensions of the sub image. The mip map level the sub image we want to update is specified with mipLevel.
The structure of the pixel data pointed to by data is specified by sourceFormat and sourceType. The pixel data upload can optionally be controlled by options.
This function was introduced in Qt 5.14.
void QOpenGLTexture::setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This overload is to be used to update a part of the texture. Parameters xOffset, yOffset, zOffset specify the texel offsets within the texture. Parameters width, height and depth specify the dimensions of the sub image. The mip map level and layerof the sub image we want to update are specified with mipLevel and layer.
The structure of the pixel data pointed to by data is specified by sourceFormat and sourceType. The pixel data upload can optionally be controlled by options.
This function was introduced in Qt 5.14.
void QOpenGLTexture::setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture::CubeMapFace face, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This overload is to be used to update a part of the texture. Parameters xOffset, yOffset, zOffset specify the texel offsets within the texture. Parameters width, height and depth specify the dimensions of the sub image.The mip map level, layer and cube map face of the sub image we want to update are specified with mipLevel, layer and face.
The structure of the pixel data pointed to by data is specified by sourceFormat and sourceType. The pixel data upload can optionally be controlled by options.
This function was introduced in Qt 5.14.
void QOpenGLTexture::setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture::CubeMapFace face, int layerCount, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options \= nullptr)
This is an overloaded function.
This overload is to be used to update a part of the texture. Parameters xOffset, yOffset, zOffset specify the texel offsets within the texture. Parameters width, height and depth specify the dimensions of the sub image.The mip map level, starting layer, cube map face and number of layers of the sub image we want to update are specified with mipLevel, layer, face and layerCount.
The structure of the pixel data pointed to by data is specified by sourceFormat and sourceType. The pixel data upload can optionally be controlled by options.
This function was introduced in Qt 5.14.
void QOpenGLTexture::setData(const QImage \&image, QOpenGLTexture::MipMapGeneration genMipMaps \= GenerateMipMaps)
This overload of setData() will allocate storage for you. The pixel data is contained in image. Mipmaps are generated by default. Set genMipMaps to DontGenerateMipMaps to turn off mipmap generation.
This is an overloaded function.
Upstream PySide2 reference signatures (binding differences may apply):
setData(self, image: PySide2.QtGui.QImage, genMipMaps: PySide2.QtGui.QOpenGLTexture.MipMapGeneration=...) -> None
setData(self, mipLevel: int, layer: int, cubeFace: PySide2.QtGui.QOpenGLTexture.CubeMapFace, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, mipLevel: int, layer: int, layerCount: int, cubeFace: PySide2.QtGui.QOpenGLTexture.CubeMapFace, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, mipLevel: int, layer: int, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, mipLevel: int, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, mipLevel: int, layer: int, cubeFace: PySide2.QtGui.QOpenGLTexture.CubeMapFace, layerCount: int, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, mipLevel: int, layer: int, cubeFace: PySide2.QtGui.QOpenGLTexture.CubeMapFace, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, mipLevel: int, layer: int, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, sourceFormat: PySide2.QtGui.QOpenGLTexture.PixelFormat, sourceType: PySide2.QtGui.QOpenGLTexture.PixelType, data: int, options: typing.Optional[PySide2.QtGui.QOpenGLPixelTransferOptions]=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setData
setDepthStencilMode
setDepthStencilMode(mode: Any) -> None
X.setDepthStencilMode(mode)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setDepthStencilMode(QOpenGLTexture::DepthStencilMode mode)
If using a texture that has a combined depth/stencil format this function sets which component of the texture is accessed to mode.
When the parameter is set to DepthMode, then accessing it from the shader will access the depth component as a single float, as normal. But when the parameter is set to StencilMode, the shader will access the stencil component.
Note: This function has no effect on Mac and Qt built for OpenGL ES 2.
This function was introduced in Qt 5.4.
See also depthStencilMode().
Upstream PySide2 reference signatures (binding differences may apply):
setDepthStencilMode(self, mode: PySide2.QtGui.QOpenGLTexture.DepthStencilMode) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setDepthStencilMode
setFixedSamplePositions
setFixedSamplePositions(fixed: bool) -> None
X.setFixedSamplePositions(fixed)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setFixedSamplePositions(bool fixed)
Sets whether the sample positions and number of samples used with a multisample capable
texture target to fixed. If set to true the sample positions and number of samples
used are the same for all texels in the image and will not depend upon the image size or
internal format. This function should be called before storage is allocated for the
texture.
For targets that do not support multisampling this function has no effect.
The default value is true.
See also isFixedSamplePositions() and isStorageAllocated().
Upstream PySide2 reference signatures (binding differences may apply):
setFixedSamplePositions(self, fixed: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setFixedSamplePositions
setFormat
setFormat(format: Any) -> None
X.setFormat(format)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setFormat(QOpenGLTexture::TextureFormat format)
Sets the format of this texture object to format. This function must be called before texture storage is allocated.
Note that all formats may not be supported. The exact set of supported formats is dependent upon your OpenGL implementation and version.
See also format() and allocateStorage().
Upstream PySide2 reference signatures (binding differences may apply):
setFormat(self, format: PySide2.QtGui.QOpenGLTexture.TextureFormat) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setFormat
setLayers
setLayers(layers: int) -> None
X.setLayers(layers)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setLayers(int layers)
Sets the number of array layers to allocate storage for. This function should be called before storage is allocated for the texture.
For targets that do not support array layers this function has no effect.
See also layers() and isStorageAllocated().
Upstream PySide2 reference signatures (binding differences may apply):
setLayers(self, layers: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setLayers
setLevelOfDetailRange
setLevelOfDetailRange(min: float, max: float) -> None
X.setLevelOfDetailRange(min, max)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setLevelOfDetailRange(float min, float max)
Sets the minimum level of detail parameters to min and the maximum level to max.
Note: This function has no effect on Qt built for OpenGL ES 2.
See also levelOfDetailRange(), setMinimumLevelOfDetail(), and setMaximumLevelOfDetail().
Upstream PySide2 reference signatures (binding differences may apply):
setLevelOfDetailRange(self, min: float, max: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setLevelOfDetailRange
setLevelofDetailBias
setLevelofDetailBias(bias: float) -> None
X.setLevelofDetailBias(bias)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setLevelofDetailBias(float bias)
Sets the level of detail bias to bias. Level of detail bias affects the point at which mipmapping levels change. Increasing values for level of detail bias makes the overall images blurrier or smoother. Decreasing values make the overall images sharper.
Note: This function has no effect on Qt built for OpenGL ES 2.
See also levelofDetailBias().
Upstream PySide2 reference signatures (binding differences may apply):
setLevelofDetailBias(self, bias: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setLevelofDetailBias
setMagnificationFilter
setMagnificationFilter(filter: Any) -> None
X.setMagnificationFilter(filter)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMagnificationFilter(QOpenGLTexture::Filter filter)
Sets the magnification filter to filter.
See also magnificationFilter(), setMinificationFilter(), and setMinMagFilters().
Upstream PySide2 reference signatures (binding differences may apply):
setMagnificationFilter(self, filter: PySide2.QtGui.QOpenGLTexture.Filter) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMagnificationFilter
setMaximumAnisotropy
setMaximumAnisotropy(anisotropy: float) -> None
X.setMaximumAnisotropy(anisotropy)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMaximumAnisotropy(float anisotropy)
If your OpenGL implementation supports the GL_EXT_texture_filter_anisotropic extension this function sets the maximum anisotropy level to anisotropy.
See also maximumAnisotropy().
Upstream PySide2 reference signatures (binding differences may apply):
setMaximumAnisotropy(self, anisotropy: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMaximumAnisotropy
setMaximumLevelOfDetail
setMaximumLevelOfDetail(value: float) -> None
X.setMaximumLevelOfDetail(value)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMaximumLevelOfDetail(float value)
Sets the maximum level of detail to value. This limits the selection of lowest resolution mipmap (highest mipmap level). The default value is 1000.
Note: This function has no effect on Qt built for OpenGL ES 2.
See also maximumLevelOfDetail(), setMinimumLevelOfDetail(), and setLevelOfDetailRange().
Upstream PySide2 reference signatures (binding differences may apply):
setMaximumLevelOfDetail(self, value: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMaximumLevelOfDetail
setMinMagFilters
setMinMagFilters(minificationFilter: Any, magnificationFilter: Any) -> None
X.setMinMagFilters(minificationFilter, magnificationFilter)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMinMagFilters(QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter)
Sets the minification filter to minificationFilter and the magnification filter to magnificationFilter.
See also minMagFilters(), setMinificationFilter(), and setMagnificationFilter().
Upstream PySide2 reference signatures (binding differences may apply):
setMinMagFilters(self, minificationFilter: PySide2.QtGui.QOpenGLTexture.Filter, magnificationFilter: PySide2.QtGui.QOpenGLTexture.Filter) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMinMagFilters
setMinificationFilter
setMinificationFilter(filter: Any) -> None
X.setMinificationFilter(filter)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMinificationFilter(QOpenGLTexture::Filter filter)
Sets the filter used for minification to filter.
See also minificationFilter(), setMagnificationFilter(), and setMinMagFilters().
Upstream PySide2 reference signatures (binding differences may apply):
setMinificationFilter(self, filter: PySide2.QtGui.QOpenGLTexture.Filter) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMinificationFilter
setMinimumLevelOfDetail
setMinimumLevelOfDetail(value: float) -> None
X.setMinimumLevelOfDetail(value)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMinimumLevelOfDetail(float value)
Sets the minimum level of detail to value. This limits the selection of highest resolution mipmap (lowest mipmap level). The default value is -1000.
Note: This function has no effect on Qt built for OpenGL ES 2.
See also minimumLevelOfDetail(), setMaximumLevelOfDetail(), and setLevelOfDetailRange().
Upstream PySide2 reference signatures (binding differences may apply):
setMinimumLevelOfDetail(self, value: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMinimumLevelOfDetail
setMipBaseLevel
setMipBaseLevel(baseLevel: int) -> None
X.setMipBaseLevel(baseLevel)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMipBaseLevel(int baseLevel)
Sets the base mipmap level used for all texture lookups with this texture to baseLevel.
Note: This function has no effect on Qt built for OpenGL ES 2.
See also mipBaseLevel(), setMipMaxLevel(), and setMipLevelRange().
Upstream PySide2 reference signatures (binding differences may apply):
setMipBaseLevel(self, baseLevel: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMipBaseLevel
setMipLevelRange
setMipLevelRange(baseLevel: int, maxLevel: int) -> None
X.setMipLevelRange(baseLevel, maxLevel)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMipLevelRange(int baseLevel, int maxLevel)
Sets the range of mipmap levels that can be used for texture lookups with this texture to range from baseLevel to maxLevel.
Note: This function has no effect on Qt built for OpenGL ES 2.
See also setMipBaseLevel(), setMipMaxLevel(), and mipLevelRange().
Upstream PySide2 reference signatures (binding differences may apply):
setMipLevelRange(self, baseLevel: int, maxLevel: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMipLevelRange
setMipLevels
setMipLevels(levels: int) -> None
X.setMipLevels(levels)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMipLevels(int levels)
For texture targets that support mipmaps, this function sets the requested number of mipmap levels to allocate storage for. This function should be called before storage is allocated for the texture.
If the texture target does not support mipmaps this function has no effect.
See also mipLevels(), maximumMipLevels(), and isStorageAllocated().
Upstream PySide2 reference signatures (binding differences may apply):
setMipLevels(self, levels: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMipLevels
setMipMaxLevel
setMipMaxLevel(maxLevel: int) -> None
X.setMipMaxLevel(maxLevel)
Supplemental documentation: Qt 5 reference:
void QOpenGLTexture::setMipMaxLevel(int maxLevel)
Sets the maximum mipmap level used for all texture lookups with this texture to maxLevel.
Note: This function has no effect on Qt built for OpenGL ES 2.
See also mipMaxLevel(), setMipBaseLevel(), and setMipLevelRange().
Upstream PySide2 reference signatures (binding differences may apply):
setMipMaxLevel(self, maxLevel: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopengltexture.html#setMipMaxLevel