Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGSceneDesc::Node Struct Reference

#include <qssgscenedesc_p.h>

+ Inheritance diagram for QSSGSceneDesc::Node:
+ Collaboration diagram for QSSGSceneDesc::Node:

Public Types

enum class  Type : quint8 {
  Transform , Camera , Model , Texture ,
  Material , Light , Mesh , Skin ,
  Skeleton , Joint , MorphTarget
}
 
using type = QQuick3DNode
 
using RuntimeType = QSSGRenderGraphObject::Type
 
using ChildList = QList<Node *>
 
using PropertyList = QList<Property *>
 

Public Member Functions

 Node (QByteArray name, Node::Type type, Node::RuntimeType rt)
 
 Node (Node::Type type, Node::RuntimeType rt)
 
virtual ~Node ()
 
void cleanupChildren ()
 

Public Attributes

QByteArray name
 
Scenescene = nullptr
 
QObjectobj = nullptr
 
ChildList children
 
PropertyList properties
 
quint16 id = 0
 
RuntimeType runtimeType
 
Type nodeType
 

Detailed Description

Definition at line 135 of file qssgscenedesc_p.h.

Member Typedef Documentation

◆ ChildList

Definition at line 170 of file qssgscenedesc_p.h.

◆ PropertyList

Definition at line 171 of file qssgscenedesc_p.h.

◆ RuntimeType

◆ type

Definition at line 153 of file qssgscenedesc_p.h.

Member Enumeration Documentation

◆ Type

enum class QSSGSceneDesc::Node::Type : quint8
strong
Enumerator
Transform 
Camera 
Model 
Texture 
Material 
Light 
Mesh 
Skin 
Skeleton 
Joint 
MorphTarget 

Definition at line 138 of file qssgscenedesc_p.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

QSSGSceneDesc::Node::Node ( QByteArray name,
Node::Type type,
Node::RuntimeType rt )
inlineexplicit

Definition at line 157 of file qssgscenedesc_p.h.

◆ Node() [2/2]

QSSGSceneDesc::Node::Node ( Node::Type type,
Node::RuntimeType rt )
inlineexplicit

Definition at line 161 of file qssgscenedesc_p.h.

◆ ~Node()

Node< _Tp >::~Node ( )
virtual

Definition at line 104 of file qssgscenedesc.cpp.

References QSSGSceneDesc::destructNode().

+ Here is the call graph for this function:

Member Function Documentation

◆ cleanupChildren()

void Node< _Tp >::cleanupChildren ( )

Definition at line 106 of file qssgscenedesc.cpp.

References cleanupChildren(), and it.

Referenced by QSSGSceneDesc::Scene::cleanup(), and cleanupChildren().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ children

◆ id

quint16 QSSGSceneDesc::Node::id = 0

Definition at line 174 of file qssgscenedesc_p.h.

Referenced by QSSGSceneDesc::addNode(), and QSSGSceneDesc::addNode().

◆ name

◆ nodeType

◆ obj

◆ properties

◆ runtimeType

◆ scene


The documentation for this struct was generated from the following files: