QRenderTargetOutput#
The QRenderTargetOutput
class allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc… ). More…
Synopsis#
Properties#
Functions#
def
attachmentPoint
()def
face
()def
layer
()def
mipLevel
()def
texture
()
Slots#
def
setAttachmentPoint
(attachmentPoint)def
setFace
(face)def
setLayer
(layer)def
setMipLevel
(level)def
setTexture
(texture)
Signals#
def
attachmentPointChanged
(attachmentPoint)def
faceChanged
(face)def
layerChanged
(layer)def
mipLevelChanged
(mipLevel)def
textureChanged
(texture)
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#
A QRenderTargetOutput
specifies the attachment point and parameters for texture that is attached to render target. In addition to the attachment point, texture miplevel, layer and cubemap face can be specified. The texture attached to the QRenderTargetOutput
must be compatible with the given parameters.
- class PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
The constructor creates a new QRenderTargetOutput
instance with the specified parent
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.attachmentPoint: AttachmentPoint#
Holds the attachment point of the QRenderTargetOutput
.
- Access functions:
setAttachmentPoint
(attachmentPoint)Signal
attachmentPointChanged
(attachmentPoint)
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.face: CubeMapFace#
Holds the face of the attached cubemap texture the rendering is directed to.
- Access functions:
face
()setFace
(face)Signal
faceChanged
(face)
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.layer: int#
Holds the layer of the attached texture the rendering is directed to.
- Access functions:
layer
()setLayer
(layer)Signal
layerChanged
(layer)
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.mipLevel: int#
Holds the miplevel of the attached texture the rendering is directed to.
- Access functions:
mipLevel
()setMipLevel
(level)Signal
mipLevelChanged
(mipLevel)
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.texture: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture#
Holds the texture attached to the attachment point.
- Access functions:
texture
()setTexture
(texture)Signal
textureChanged
(texture)
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.AttachmentPoint#
This enumeration specifies the values for the attachment point.
Constant
Description
Qt3DRender.QRenderTargetOutput.Color0
Color attachment point at index 0
Qt3DRender.QRenderTargetOutput.Color1
Color attachment point at index 1
Qt3DRender.QRenderTargetOutput.Color2
Color attachment point at index 2
Qt3DRender.QRenderTargetOutput.Color3
Color attachment point at index 3
Qt3DRender.QRenderTargetOutput.Color4
Color attachment point at index 4
Qt3DRender.QRenderTargetOutput.Color5
Color attachment point at index 5
Qt3DRender.QRenderTargetOutput.Color6
Color attachment point at index 6
Qt3DRender.QRenderTargetOutput.Color7
Color attachment point at index 7
Qt3DRender.QRenderTargetOutput.Color8
Color attachment point at index 8
Qt3DRender.QRenderTargetOutput.Color9
Color attachment point at index 9
Qt3DRender.QRenderTargetOutput.Color10
Color attachment point at index 10
Qt3DRender.QRenderTargetOutput.Color11
Color attachment point at index 11
Qt3DRender.QRenderTargetOutput.Color12
Color attachment point at index 12
Qt3DRender.QRenderTargetOutput.Color13
Color attachment point at index 13
Qt3DRender.QRenderTargetOutput.Color14
Color attachment point at index 14
Qt3DRender.QRenderTargetOutput.Color15
Color attachment point at index 15
Qt3DRender.QRenderTargetOutput.Depth
Depth attachment point
Qt3DRender.QRenderTargetOutput.Stencil
Stencil attachment point
Qt3DRender.QRenderTargetOutput.DepthStencil
DepthStencil attachment point
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.attachmentPoint()#
- Return type:
See also
Getter of property attachmentPoint
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.attachmentPointChanged(attachmentPoint)#
- Parameters:
attachmentPoint –
AttachmentPoint
Notification signal of property attachmentPoint
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.face()#
- Return type:
See also
Getter of property face
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.faceChanged(face)#
- Parameters:
face –
CubeMapFace
Notification signal of property face
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.layer()#
- Return type:
int
See also
Getter of property layer
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.layerChanged(layer)#
- Parameters:
layer – int
Notification signal of property layer
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.mipLevel()#
- Return type:
int
See also
Getter of property mipLevel
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.mipLevelChanged(mipLevel)#
- Parameters:
mipLevel – int
Notification signal of property mipLevel
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.setAttachmentPoint(attachmentPoint)#
- Parameters:
attachmentPoint –
AttachmentPoint
See also
Setter of property attachmentPoint
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.setFace(face)#
- Parameters:
face –
CubeMapFace
See also
Setter of property face
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.setLayer(layer)#
- Parameters:
layer – int
See also
Setter of property layer
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.setMipLevel(level)#
- Parameters:
level – int
See also
Setter of property mipLevel
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.setTexture(texture)#
- Parameters:
See also
Setter of property texture
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.texture()#
- Return type:
See also
Getter of property texture
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput.textureChanged(texture)#
- Parameters:
Notification signal of property texture
.