![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrenderdata_p.h>
Public Types | |
| enum class | Strategy { Initial , Update } |
| enum | GlobalStateResult : quint8 { None , ActiveChanged = 0x1 , PickableChanged = 0x2 } |
| using | GlobalStateResultT = std::underlying_type_t<GlobalStateResult> |
| using | VersionType = QSSGRenderNodeVersionType |
Static Public Member Functions | |
| template<Strategy strategy> | |
| static bool | calcGlobalNodeData (QSSGRenderNode *node, const VersionType version, QSSGGlobalRenderNodeData::GlobalTransformStore &globalTransforms, QSSGGlobalRenderNodeData::GlobalOpacityStore &globalOpacities) |
| calcGlobalNodeData | |
| static bool | calcInstanceTransforms (QSSGRenderNode *node, const VersionType version, QSSGGlobalRenderNodeData::GlobalTransformStore &globalTransforms, QSSGGlobalRenderNodeData::InstanceTransformStore &instanceTransforms) |
| calcInstanceTransforms | |
| static GlobalStateResult | updateGlobalNodeState (QSSGRenderNode *node, const VersionType version) |
| updateGlobalNodeState | |
Definition at line 128 of file qssgrenderdata_p.h.
| using QSSGRenderDataHelpers::GlobalStateResultT = std::underlying_type_t<GlobalStateResult> |
Definition at line 145 of file qssgrenderdata_p.h.
Definition at line 146 of file qssgrenderdata_p.h.
| Enumerator | |
|---|---|
| None | |
| ActiveChanged | |
| PickableChanged | |
Definition at line 138 of file qssgrenderdata_p.h.
|
strong |
| Enumerator | |
|---|---|
| Initial | |
| Update | |
Definition at line 132 of file qssgrenderdata_p.h.
|
inlinestatic |
calcGlobalNodeData
| node | The node to calculate the global data for. |
| version | The version of the node current node tree. |
| globalTransforms | The global transforms store. |
| globalOpacities | The global opacities store. |
The function is used to calculate the global node data for the given node. It will use the given strategy to determine if it should calculate the initial values or update the existing values based on the node's dirty state.
NOTE: This function assumes the output data is already allocated and can be directly indexed!!!
Definition at line 164 of file qssgrenderdata_p.h.
References Initial.
|
static |
calcInstanceTransforms
| node | The node to calculate the instance transforms for. |
| version | The version of the node current node tree. |
| globalTransforms | The global transforms store. |
| instanceTransforms | The instance transforms store. |
The function is used to calculate the instance transforms for the given node.
NOTE: This function assumes the output data is already allocated and can be directly indexed!!!
Definition at line 192 of file qssgrenderdata.cpp.
|
static |
updateGlobalNodeState
| node | The node to update the global state for. |
| version | The version of the node current node tree. |
The function is used to update the global state flagsfor the given node, meaning the global active and pickable state of the node.
Definition at line 157 of file qssgrenderdata.cpp.
References None.