PySide6.Qt3DRender.Qt3DRender.QRenderTargetOutput¶
- class 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¶
Methods¶
def
__init__()
def
face()
def
layer()
def
mipLevel()
def
texture()
Slots¶
def
setFace()
def
setLayer()
def
setMipLevel()
def
setTexture()
Signals¶
def
faceChanged()
def
layerChanged()
def
textureChanged()
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 theQRenderTargetOutput
must be compatible with the given parameters.Note
Left and Right attachment points are special values. They do not refer to render target objects to be either of the back buffers used for stereo rendering.
- class 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
Qt3DRender.QRenderTargetOutput.Left
Back Left Draw Buffer
Qt3DRender.QRenderTargetOutput.Right
Back Right Draw Buffer
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property attachmentPointᅟ: Qt3DRender.QRenderTargetOutput.AttachmentPoint¶
Holds the attachment point of the
QRenderTargetOutput
.- Access functions:
- property faceᅟ: Qt3DRender.QAbstractTexture.CubeMapFace¶
Holds the face of the attached cubemap texture the rendering is directed to.
- Access functions:
Signal
faceChanged()
- property layerᅟ: int¶
Holds the layer of the attached texture the rendering is directed to.
- Access functions:
Signal
layerChanged()
- property mipLevelᅟ: int¶
Holds the miplevel of the attached texture the rendering is directed to.
- Access functions:
- property textureᅟ: QAbstractTexture¶
Holds the texture attached to the attachment point.
- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
The constructor creates a new
QRenderTargetOutput
instance with the specifiedparent
.- attachmentPoint()¶
- Return type:
AttachmentPoint
See also
setAttachmentPoint()
Getter of property
attachmentPointᅟ
.- attachmentPointChanged(attachmentPoint)¶
- Parameters:
attachmentPoint –
AttachmentPoint
Notification signal of property
attachmentPointᅟ
.- face()¶
- Return type:
CubeMapFace
See also
setFace()
Getter of property
faceᅟ
.- faceChanged(face)¶
- Parameters:
face –
CubeMapFace
Notification signal of property
faceᅟ
.- layer()¶
- Return type:
int
See also
setLayer()
Getter of property
layerᅟ
.- layerChanged(layer)¶
- Parameters:
layer – int
Notification signal of property
layerᅟ
.- mipLevel()¶
- Return type:
int
See also
setMipLevel()
Getter of property
mipLevelᅟ
.- mipLevelChanged(mipLevel)¶
- Parameters:
mipLevel – int
Notification signal of property
mipLevelᅟ
.- setAttachmentPoint(attachmentPoint)¶
- Parameters:
attachmentPoint –
AttachmentPoint
See also
attachmentPoint()
Setter of property
attachmentPointᅟ
.- setFace(face)¶
- Parameters:
face –
CubeMapFace
See also
face()
Setter of property
faceᅟ
.- setLayer(layer)¶
- Parameters:
layer – int
See also
layer()
Setter of property
layerᅟ
.- setMipLevel(level)¶
- Parameters:
level – int
See also
mipLevel()
Setter of property
mipLevelᅟ
.- setTexture(texture)¶
- Parameters:
texture –
QAbstractTexture
See also
texture()
Setter of property
textureᅟ
.- texture()¶
- Return type:
QAbstractTexture
See also
setTexture()
Getter of property
textureᅟ
.- textureChanged(texture)¶
- Parameters:
texture –
QAbstractTexture
Notification signal of property
textureᅟ
.