QClearBuffers¶
- PyQt5.Qt3DRender.QClearBuffers
Inherits from QFrameGraphNode.
Description¶
Class to clear buffers.
A QClearBuffers FrameGraph node enables clearing of the specific render target buffers with specific values.
Classes¶
Enums¶
- BufferType
This enum type describes types of buffer to be cleared.
Member
Value
Description
AllBuffers 0xFFFFFFFF
Clear all buffers
ColorBuffer (1 << 0)
Clear color buffers
ColorDepthBuffer ColorBuffer | DepthBuffer
Clear color and depth buffers
ColorDepthStencilBuffer ColorBuffer | DepthStencilBuffer
Clear color, depth and stencil buffers
DepthBuffer (1 << 1)
Clear depth buffer
DepthStencilBuffer DepthBuffer | StencilBuffer
Clear depth and stencil buffers
None 0
No buffers will be cleared
StencilBuffer (1 << 2)
Clear stencil buffer
Methods¶
- __init__(parent: QNode = None)
The constructor creates an instance with the specified parent.
- buffers() → BufferType
See also
- clearColor() → QColor
See also
- clearDepthValue() → float
See also
- clearStencilValue() → int
See also
- colorBuffer() → QRenderTargetOutput
See also
- setBuffers(BufferType)
See also
- setClearColor(Union[QColor, GlobalColor])
See also
- setClearDepthValue(float)
See also
- setClearStencilValue(int)
See also
- setColorBuffer(QRenderTargetOutput)
See also
Signals¶
- buffersChanged(BufferType)
TODO
- clearColorChanged(Union[QColor, GlobalColor])
TODO
- clearDepthValueChanged(float)
TODO
- clearStencilValueChanged(int)
TODO
- colorBufferChanged(QRenderTargetOutput)
TODO