- class QAbstractTexture¶
-
Inherited by:
QTextureRectangle
,QTextureLoader
,QTextureCubeMapArray
,QTextureCubeMap
,QTextureBuffer
,QTexture3D
,QTexture2DMultisampleArray
,QTexture2DMultisample
,QTexture2DArray
,QTexture2D
,QTexture1DArray
,QTexture1D
,QSharedGLTexture
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
comparisonMode()
def
depth()
def
format()
def
handle()
def
handleType()
def
height()
def
layers()
def
mipLevels()
def
samples()
def
setHandle()
def
setHandleType()
def
setSize()
def
setStatus()
def
setWrapMode()
def
status()
def
target()
def
textureImages()
def
updateData()
def
width()
def
wrapMode()
Slots¶
def
setDepth()
def
setFormat()
def
setHeight()
def
setLayers()
def
setMipLevels()
def
setSamples()
def
setWidth()
Signals¶
def
depthChanged()
def
formatChanged()
def
handleChanged()
def
heightChanged()
def
layersChanged()
def
samplesChanged()
def
statusChanged()
def
widthChanged()
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:
Signal
depthChanged()
- property formatᅟ: Qt3DRender.QAbstractTexture.TextureFormat¶
- Access functions:
Signal
formatChanged()
- property generateMipMapsᅟ: bool¶
- Access functions:
- property handleᅟ: object¶
- Access functions:
Signal
handleChanged()
- property handleTypeᅟ: Qt3DRender.QAbstractTexture.HandleType¶
- Access functions:
Signal
handleTypeChanged()
- property heightᅟ: int¶
- Access functions:
Signal
heightChanged()
- property layersᅟ: int¶
- Access functions:
Signal
layersChanged()
- 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:
Signal
statusChanged()
- property targetᅟ: Qt3DRender.QAbstractTexture.Target¶
- Access functions:
- property widthᅟ: int¶
- Access functions:
Signal
widthChanged()
- property wrapModeᅟ: QTextureWrapMode¶
- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
- __init__(target[, parent=None])
- Parameters:
target –
Target
parent –
QNode
- addTextureImage(textureImage)¶
- Parameters:
textureImage –
QAbstractTextureImage
- comparisonFunction()¶
- Return type:
ComparisonFunction
Getter of property
comparisonFunctionᅟ
.- comparisonFunctionChanged(comparisonFunction)¶
- Parameters:
comparisonFunction –
ComparisonFunction
Notification signal of property
comparisonFunctionᅟ
.- comparisonMode()¶
- Return type:
ComparisonMode
Getter of property
comparisonModeᅟ
.- comparisonModeChanged(comparisonMode)¶
- Parameters:
comparisonMode –
ComparisonMode
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:
format –
TextureFormat
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:
handleType –
HandleType
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:
magnificationFilter –
Filter
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:
minificationFilter –
Filter
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:
textureImage –
QAbstractTextureImage
- samples()¶
- Return type:
int
Getter of property
samplesᅟ
.- samplesChanged(samples)¶
- Parameters:
samples – int
Notification signal of property
samplesᅟ
.- setComparisonFunction(function)¶
- Parameters:
function –
ComparisonFunction
Setter of property
comparisonFunctionᅟ
.- setComparisonMode(mode)¶
- Parameters:
mode –
ComparisonMode
Setter of property
comparisonModeᅟ
.- setDepth(depth)¶
- Parameters:
depth – int
Setter of property
depthᅟ
.- setFormat(format)¶
- Parameters:
format –
TextureFormat
Setter of property
formatᅟ
.- setGenerateMipMaps(gen)¶
- Parameters:
gen – bool
Setter of property
generateMipMapsᅟ
.- setHandle(handle)¶
- Parameters:
handle – object
- setHandleType(type)¶
- Parameters:
type –
HandleType
- setHeight(height)¶
- Parameters:
height – int
Setter of property
heightᅟ
.- setLayers(layers)¶
- Parameters:
layers – int
Setter of property
layersᅟ
.- setMagnificationFilter(f)¶
- Parameters:
f –
Filter
Setter of property
magnificationFilterᅟ
.- setMaximumAnisotropy(anisotropy)¶
- Parameters:
anisotropy – float
Setter of property
maximumAnisotropyᅟ
.- setMinificationFilter(f)¶
- Parameters:
f –
Filter
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:
status –
Status
- setWidth(width)¶
- Parameters:
width – int
Setter of property
widthᅟ
.- setWrapMode(wrapMode)¶
- Parameters:
wrapMode –
QTextureWrapMode
- status()¶
- Return type:
Status
Getter of property
statusᅟ
.- statusChanged(status)¶
- Parameters:
status –
Status
Notification signal of property
statusᅟ
.- target()¶
- Return type:
Target
Getter of property
targetᅟ
.- textureImages()¶
- Return type:
.list of Qt3DRender.QAbstractTextureImage
- updateData(update)¶
- Parameters:
update –
QTextureDataUpdate
- 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ᅟ
.