QShaderData#

Provides a way of specifying values of a Uniform Block or a shader structure. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QShaderData

Synopsis#

Functions#

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#

Note

When subclassing and adding properties to QShaderData , note that if you need to nest an inner QShaderData , the data type of the property should be QShaderData * instead of the name of your subclass.

class PySide6.Qt3DRender.Qt3DRender.QShaderData([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QShaderData with the specified parent.

PySide6.Qt3DRender.Qt3DRender.QShaderData.propertyReader()#
Return type:

QSharedPointer

QShaderData::propertyReader Returns the PropertyReaderInterfacePtr for this shader data