QShaderProgramBuilder

PyQt5.Qt3DRender.QShaderProgramBuilder

Inherits from QNode.

Description

Generates a Shader Program content from loaded graphs.

A shader program builder consists of several different shader graphs used to generate shader code.

Methods

__init__(parent: QNode = None)

TODO


computeShaderCode() → QByteArray

TODO


computeShaderGraph() → QUrl

enabledLayers() → List[str]

See also

setEnabledLayers().


fragmentShaderCode() → QByteArray

TODO


fragmentShaderGraph() → QUrl

geometryShaderCode() → QByteArray

TODO


geometryShaderGraph() → QUrl

sceneChangeEvent(QSceneChange)

TODO


setComputeShaderGraph(QUrl)

setEnabledLayers(Iterable[str])

See also

enabledLayers().


setFragmentShaderGraph(QUrl)

setGeometryShaderGraph(QUrl)

setShaderProgram(QShaderProgram)

See also

shaderProgram().


setTessellationControlShaderGraph(QUrl)

setTessellationEvaluationShaderGraph(QUrl)

setVertexShaderGraph(QUrl)

shaderProgram() → QShaderProgram

See also

setShaderProgram().


tessellationControlShaderCode() → QByteArray

TODO


tessellationControlShaderGraph() → QUrl

tessellationEvaluationShaderCode() → QByteArray

TODO


tessellationEvaluationShaderGraph() → QUrl

vertexShaderCode() → QByteArray

TODO


vertexShaderGraph() → QUrl

Signals

computeShaderCodeChanged(Union[QByteArray, bytes, bytearray])

TODO


computeShaderGraphChanged(QUrl)

TODO


enabledLayersChanged(Iterable[str])

TODO


fragmentShaderCodeChanged(Union[QByteArray, bytes, bytearray])

TODO


fragmentShaderGraphChanged(QUrl)

TODO


geometryShaderCodeChanged(Union[QByteArray, bytes, bytearray])

TODO


geometryShaderGraphChanged(QUrl)

TODO


shaderProgramChanged(QShaderProgram)

TODO


tessellationControlShaderCodeChanged(Union[QByteArray, bytes, bytearray])

TODO


tessellationControlShaderGraphChanged(QUrl)

TODO


tessellationEvaluationShaderCodeChanged(Union[QByteArray, bytes, bytearray])

TODO


tessellationEvaluationShaderGraphChanged(QUrl)

TODO


vertexShaderCodeChanged(Union[QByteArray, bytes, bytearray])

TODO


vertexShaderGraphChanged(QUrl)

TODO