Qt3DRender.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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput

Synopsis

Functions

Slots

Signals

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 PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput([parent=None])
param parent

QNode

The constructor creates a new QRenderTargetOutput instance with the specified parent .

PySide2.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

attachment point

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.attachmentPoint()
Return type

AttachmentPoint

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.attachmentPointChanged(attachmentPoint)
Parameters

attachmentPointAttachmentPoint

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.face()
Return type

CubeMapFace

See also

setFace()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.faceChanged(face)
Parameters

faceCubeMapFace

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.layer()
Return type

int

See also

setLayer()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.layerChanged(layer)
Parameters

layerint

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.mipLevel()
Return type

int

See also

setMipLevel()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.mipLevelChanged(mipLevel)
Parameters

mipLevelint

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.setAttachmentPoint(attachmentPoint)
Parameters

attachmentPointAttachmentPoint

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.setFace(face)
Parameters

faceCubeMapFace

See also

face()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.setLayer(layer)
Parameters

layerint

See also

layer()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.setMipLevel(level)
Parameters

levelint

See also

mipLevel()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.setTexture(texture)
Parameters

textureQAbstractTexture

See also

texture()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.texture()
Return type

QAbstractTexture

See also

setTexture()

PySide2.Qt3DRender.Qt3DRender.QRenderTargetOutput.textureChanged(texture)
Parameters

textureQAbstractTexture