ShaderData Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | ShaderData

Qt 5.6.2 Reference Documentation

# ShaderData Class

(Qt3DRender::Render::ShaderData)

Inherits: | Qt3DCore::QBackendNode

- List of all members, including inherited members

## Public Functions

| ShaderData()
| ~ShaderData()
void | markDirty()
QHash<QString, QVariant> | properties() const
void | setManagers(NodeManagers *managers)
void | updateFromPeer(Qt3DCore::QNode *peer)
bool | updateViewTransform(const QMatrix4x4 &viewMatrix)
bool | updateWorldTransform(const QMatrix4x4 &worldMatrix)
QHash<QString, QVariant> | updatedProperties() const

- 5 public functions inherited from Qt3DCore::QBackendNode

## Static Public Members

void | cleanup(NodeManagers *managers)

## Protected Functions

void | clearUpdatedProperties()
ShaderData * | lookupResource(const Qt3DCore::QNodeId &id)
void | readPeerProperties(QShaderData *peer)
void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)

- 3 protected functions inherited from Qt3DCore::QBackendNode

## Static Protected Members

ShaderData * | lookupResource(NodeManagers *managers, const Qt3DCore::QNodeId &id)

## Member Function Documentation

### ShaderData::ShaderData()

Default constructs an instance of ShaderData.

### ShaderData::~ShaderData()

Destroys the instance of ShaderData.

### `[static]` void ShaderData::cleanup(NodeManagers *managers)

### `[protected]` void ShaderData::clearUpdatedProperties()

### `[static protected]` ShaderData *ShaderData::lookupResource(NodeManagers *managers, const Qt3DCore::QNodeId &id)

### `[protected]` ShaderData *ShaderData::lookupResource(const Qt3DCore::QNodeId &id)

### void ShaderData::markDirty()

### QHash<QString, QVariant> ShaderData::properties() const

### `[protected]` void ShaderData::readPeerProperties(QShaderData *peer)

### `[protected]` void ShaderData::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)

### void ShaderData::setManagers(NodeManagers *managers)

### void ShaderData::updateFromPeer(Qt3DCore::QNode *peer)

### bool ShaderData::updateViewTransform(const QMatrix4x4 &viewMatrix)

### bool ShaderData::updateWorldTransform(const QMatrix4x4 &worldMatrix)

### QHash<QString, QVariant> ShaderData::updatedProperties() const