class QAbstractTexture

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QAbstractTexture

Inherited by: QTextureRectangle, QTextureLoader, QTextureCubeMapArray, QTextureCubeMap, QTextureBuffer, QTexture3D, QTexture2DMultisampleArray, QTexture2DMultisample, QTexture2DArray, QTexture2D, QTexture1DArray, QTexture1D, QSharedGLTexture

Synopsis

Properties

Methods

Slots

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class Status
class Target
class TextureFormat
class Filter
class CubeMapFace
class ComparisonFunction
class ComparisonMode
class HandleType

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property comparisonFunctionᅟ: Qt3DRender.QAbstractTexture.ComparisonFunction
Access functions:
property comparisonModeᅟ: Qt3DRender.QAbstractTexture.ComparisonMode
Access functions:
property depthᅟ: int
Access functions:
property formatᅟ: Qt3DRender.QAbstractTexture.TextureFormat
Access functions:
property generateMipMapsᅟ: bool
Access functions:
property handleᅟ: object
Access functions:
property handleTypeᅟ: Qt3DRender.QAbstractTexture.HandleType
Access functions:
property heightᅟ: int
Access functions:
property layersᅟ: int
Access functions:
property magnificationFilterᅟ: Qt3DRender.QAbstractTexture.Filter
Access functions:
property maximumAnisotropyᅟ: float
Access functions:
property minificationFilterᅟ: Qt3DRender.QAbstractTexture.Filter
Access functions:
property mipLevelsᅟ: int
Access functions:
property samplesᅟ: int
Access functions:
property statusᅟ: Qt3DRender.QAbstractTexture.Status
Access functions:
property targetᅟ: Qt3DRender.QAbstractTexture.Target
Access functions:
property widthᅟ: int
Access functions:
property wrapModeᅟ: QTextureWrapMode
Access functions:
__init__([parent=None])
Parameters:

parentQNode

__init__(target[, parent=None])
Parameters:
  • targetTarget

  • parentQNode

addTextureImage(textureImage)
Parameters:

textureImageQAbstractTextureImage

comparisonFunction()
Return type:

ComparisonFunction

Getter of property comparisonFunctionᅟ .

comparisonFunctionChanged(comparisonFunction)
Parameters:

comparisonFunctionComparisonFunction

Notification signal of property comparisonFunctionᅟ .

comparisonMode()
Return type:

ComparisonMode

Getter of property comparisonModeᅟ .

comparisonModeChanged(comparisonMode)
Parameters:

comparisonModeComparisonMode

Notification signal of property comparisonModeᅟ .

depth()
Return type:

int

Getter of property depthᅟ .

depthChanged(depth)
Parameters:

depth – int

Notification signal of property depthᅟ .

format()
Return type:

TextureFormat

Getter of property formatᅟ .

formatChanged(format)
Parameters:

formatTextureFormat

Notification signal of property formatᅟ .

generateMipMaps()
Return type:

bool

Getter of property generateMipMapsᅟ .

generateMipMapsChanged(generateMipMaps)
Parameters:

generateMipMaps – bool

Notification signal of property generateMipMapsᅟ .

handle()
Return type:

object

Getter of property handleᅟ .

handleChanged(handle)
Parameters:

handle – object

Notification signal of property handleᅟ .

handleType()
Return type:

HandleType

Getter of property handleTypeᅟ .

handleTypeChanged(handleType)
Parameters:

handleTypeHandleType

Notification signal of property handleTypeᅟ .

height()
Return type:

int

Getter of property heightᅟ .

heightChanged(height)
Parameters:

height – int

Notification signal of property heightᅟ .

layers()
Return type:

int

Getter of property layersᅟ .

layersChanged(layers)
Parameters:

layers – int

Notification signal of property layersᅟ .

magnificationFilter()
Return type:

Filter

Getter of property magnificationFilterᅟ .

magnificationFilterChanged(magnificationFilter)
Parameters:

magnificationFilterFilter

Notification signal of property magnificationFilterᅟ .

maximumAnisotropy()
Return type:

float

Getter of property maximumAnisotropyᅟ .

maximumAnisotropyChanged(maximumAnisotropy)
Parameters:

maximumAnisotropy – float

Notification signal of property maximumAnisotropyᅟ .

minificationFilter()
Return type:

Filter

Getter of property minificationFilterᅟ .

minificationFilterChanged(minificationFilter)
Parameters:

minificationFilterFilter

Notification signal of property minificationFilterᅟ .

mipLevels()
Return type:

int

Getter of property mipLevelsᅟ .

mipLevelsChanged(mipLevels)
Parameters:

mipLevels – int

Notification signal of property mipLevelsᅟ .

removeTextureImage(textureImage)
Parameters:

textureImageQAbstractTextureImage

samples()
Return type:

int

Getter of property samplesᅟ .

samplesChanged(samples)
Parameters:

samples – int

Notification signal of property samplesᅟ .

setComparisonFunction(function)
Parameters:

functionComparisonFunction

Setter of property comparisonFunctionᅟ .

setComparisonMode(mode)
Parameters:

modeComparisonMode

Setter of property comparisonModeᅟ .

setDepth(depth)
Parameters:

depth – int

Setter of property depthᅟ .

setFormat(format)
Parameters:

formatTextureFormat

Setter of property formatᅟ .

setGenerateMipMaps(gen)
Parameters:

gen – bool

Setter of property generateMipMapsᅟ .

setHandle(handle)
Parameters:

handle – object

setHandleType(type)
Parameters:

typeHandleType

setHeight(height)
Parameters:

height – int

Setter of property heightᅟ .

setLayers(layers)
Parameters:

layers – int

Setter of property layersᅟ .

setMagnificationFilter(f)
Parameters:

fFilter

Setter of property magnificationFilterᅟ .

setMaximumAnisotropy(anisotropy)
Parameters:

anisotropy – float

Setter of property maximumAnisotropyᅟ .

setMinificationFilter(f)
Parameters:

fFilter

Setter of property minificationFilterᅟ .

setMipLevels(mipLevels)
Parameters:

mipLevels – int

Setter of property mipLevelsᅟ .

setSamples(samples)
Parameters:

samples – int

Setter of property samplesᅟ .

setSize(width[, height=1[, depth=1]])
Parameters:
  • width – int

  • height – int

  • depth – int

setStatus(status)
Parameters:

statusStatus

setWidth(width)
Parameters:

width – int

Setter of property widthᅟ .

setWrapMode(wrapMode)
Parameters:

wrapModeQTextureWrapMode

status()
Return type:

Status

Getter of property statusᅟ .

statusChanged(status)
Parameters:

statusStatus

Notification signal of property statusᅟ .

target()
Return type:

Target

Getter of property targetᅟ .

textureImages()
Return type:

.list of Qt3DRender.QAbstractTextureImage

updateData(update)
Parameters:

updateQTextureDataUpdate

width()
Return type:

int

Getter of property widthᅟ .

widthChanged(width)
Parameters:

width – int

Notification signal of property widthᅟ .

wrapMode()
Return type:

QTextureWrapMode

Getter of property wrapModeᅟ .