Qt3DRender.QClearBuffers

Class to clear buffers. More

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QClearBuffers

Synopsis

Functions

Slots

Signals

Detailed Description

A QClearBuffers FrameGraph node enables clearing of the specific render target buffers with specific values.

class PySide2.Qt3DRender.Qt3DRender.QClearBuffers([parent=None])
param parent

QNode

The constructor creates an instance with the specified parent .

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.BufferType

This enum type describes types of buffer to be cleared.

Constant

Description

Qt3DRender.QClearBuffers.None

No buffers will be cleared

Qt3DRender.QClearBuffers.ColorBuffer

Clear color buffers

Qt3DRender.QClearBuffers.DepthBuffer

Clear depth buffer

Qt3DRender.QClearBuffers.StencilBuffer

Clear stencil buffer

Qt3DRender.QClearBuffers.DepthStencilBuffer

Clear depth and stencil buffers

Qt3DRender.QClearBuffers.ColorDepthBuffer

Clear color and depth buffers

Qt3DRender.QClearBuffers.ColorDepthStencilBuffer

Clear color, depth and stencil buffers

Qt3DRender.QClearBuffers.AllBuffers

Clear all buffers

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.buffers()
Return type

BufferType

See also

setBuffers()

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.buffersChanged(buffers)
Parameters

buffersBufferType

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.clearColor()
Return type

QColor

See also

setClearColor()

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.clearColorChanged(color)
Parameters

colorQColor

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.clearDepthValue()
Return type

float

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.clearDepthValueChanged(clearDepthValue)
Parameters

clearDepthValuefloat

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.clearStencilValue()
Return type

int

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.clearStencilValueChanged(clearStencilValue)
Parameters

clearStencilValueint

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.colorBuffer()
Return type

QRenderTargetOutput

See also

setColorBuffer()

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.colorBufferChanged(buffer)
Parameters

bufferQRenderTargetOutput

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.setBuffers(buffers)
Parameters

buffersBufferType

See also

buffers()

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.setClearColor(color)
Parameters

colorQColor

See also

clearColor()

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.setClearDepthValue(clearDepthValue)
Parameters

clearDepthValuefloat

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.setClearStencilValue(clearStencilValue)
Parameters

clearStencilValueint

PySide2.Qt3DRender.Qt3DRender.QClearBuffers.setColorBuffer(buffer)
Parameters

bufferQRenderTargetOutput

See also

colorBuffer()