![]() |
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> |
Static Public Member Functions | |
| template<Strategy strategy> | |
| static bool | calcGlobalNodeData (QSSGRenderNode *node, const quint32 version, QSSGGlobalRenderNodeData::GlobalTransformStore &globalTransforms, QSSGGlobalRenderNodeData::GlobalOpacityStore &globalOpacities) |
| calcGlobalNodeData | |
| static bool | calcInstanceTransforms (QSSGRenderNode *node, const quint32 version, QSSGGlobalRenderNodeData::GlobalTransformStore &globalTransforms, QSSGGlobalRenderNodeData::InstanceTransformStore &instanceTransforms) |
| calcInstanceTransforms | |
| static GlobalStateResult | updateGlobalNodeState (QSSGRenderNode *node, const quint32 version) |
| updateGlobalNodeState | |
Definition at line 122 of file qssgrenderdata_p.h.
| using QSSGRenderDataHelpers::GlobalStateResultT = std::underlying_type_t<GlobalStateResult> |
Definition at line 139 of file qssgrenderdata_p.h.
| Enumerator | |
|---|---|
| None | |
| ActiveChanged | |
| PickableChanged | |
Definition at line 132 of file qssgrenderdata_p.h.
|
strong |
| Enumerator | |
|---|---|
| Initial | |
| Update | |
Definition at line 126 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 157 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 187 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 152 of file qssgrenderdata.cpp.
References None.