![]() |
Qt 6.x
The Qt SDK
|
#include <qssgrenderitem2d_p.h>
Public Attributes | |
QMatrix4x4 | MVP |
float | combinedOpacity = 1.0 |
float | zOrder = 0 |
QPointer< QSGRenderer > | m_renderer |
QRhiRenderPassDescriptor * | m_rp = nullptr |
![]() | |
QVector3D | pivot |
int | staticFlags = 0 |
float | localOpacity = 1.0f |
FlagT | flags { FlagT(DirtyFlag::GlobalValuesDirty) | FlagT(LocalState::Active) } |
QMatrix4x4 | localTransform |
QMatrix4x4 | globalTransform |
QMatrix4x4 | localInstanceTransform |
QMatrix4x4 | globalInstanceTransform |
float | globalOpacity = 1.0f |
QSSGRenderNode * | parent = nullptr |
QSSGRenderNode * | nextSibling = nullptr |
QSSGRenderNode * | previousSibling = nullptr |
QSSGRenderNode * | instanceRoot = nullptr |
quint32 | dfsIndex = 0 |
ChildList | children |
QString | debugObjectName |
![]() | |
Type | type |
Additional Inherited Members | |
![]() | |
enum class | LocalState : quint8 { Active = 1 << 0 , Pickable = 1 << 1 } |
enum class | GlobalState : quint8 { Active = 1 << 2 , Pickable = 1 << 3 } |
enum class | DirtyFlag : quint32 { TransformDirty = 1 << 4 , OpacityDirty = 1 << 5 , ActiveDirty = 1 << 6 , PickableDirty = 1 << 7 , SubNodeDirty = 1 << 8 , GlobalValuesDirty = TransformDirty | OpacityDirty | ActiveDirty | PickableDirty , DirtyMask = GlobalValuesDirty | SubNodeDirty } |
using | FlagT = std::underlying_type_t< DirtyFlag > |
using | ChildList = QSSGInvasiveLinkedList< QSSGRenderNode, &QSSGRenderNode::previousSibling, &QSSGRenderNode::nextSibling > |
![]() | |
enum | BaseType : quint16 { Node = 0x10 , Light = 0x20 , Camera = 0x40 , Renderable = 0x80 , Resource = 0x100 , Material = 0x200 , Texture = 0x400 , Extension = 0x800 } |
enum class | Type : quint16 { Unknown = 0 , Node = BaseType::Node , Layer , Joint , Skeleton , ImportScene , ReflectionProbe , DirectionalLight = BaseType::Light | BaseType::Node , PointLight , SpotLight , OrthographicCamera = BaseType::Camera | BaseType::Node , PerspectiveCamera , CustomFrustumCamera , CustomCamera , Model = BaseType::Renderable | BaseType::Node , Item2D , Particles , SceneEnvironment = BaseType::Resource , Effect , Geometry , TextureData , MorphTarget , ModelInstance , ModelBlendParticle , ResourceLoader , DefaultMaterial = BaseType::Material | BaseType::Resource , PrincipledMaterial , CustomMaterial , SpecularGlossyMaterial , Skin , Image2D = BaseType::Texture | BaseType::Resource , ImageCube , RenderExtension = BaseType::Extension } |
![]() | |
static QMatrix4x4 | calculateTransformMatrix (QVector3D position, QVector3D scale, QVector3D pivot, QQuaternion rotation) |
static float | signedSquared (float val) |
![]() | |
static Q_REQUIRED_RESULT constexpr bool | isNodeType (Type type) Q_DECL_NOTHROW |
static Q_REQUIRED_RESULT constexpr bool | isLight (Type type) Q_DECL_NOTHROW |
static Q_REQUIRED_RESULT constexpr bool | isCamera (Type type) Q_DECL_NOTHROW |
static Q_REQUIRED_RESULT constexpr bool | isMaterial (Type type) Q_DECL_NOTHROW |
static Q_REQUIRED_RESULT constexpr bool | isTexture (Type type) Q_DECL_NOTHROW |
static Q_REQUIRED_RESULT constexpr bool | isRenderable (Type type) Q_DECL_NOTHROW |
static Q_REQUIRED_RESULT constexpr bool | isResource (Type type) Q_DECL_NOTHROW |
static constexpr bool | isExtension (Type type) noexcept |
static Q_REQUIRED_RESULT constexpr bool | hasGraphicsResources (Type type) Q_DECL_NOTHROW |
static const char * | asString (QSSGRenderGraphObject::Type type) |
static QDebug | debugPrintImpl (QDebug stream, QSSGRenderGraphObject::Type type) |
![]() | |
static constexpr QVector3D | initScale { 1.0f, 1.0f, 1.0f } |
Definition at line 26 of file qssgrenderitem2d_p.h.
QT_BEGIN_NAMESPACE QSSGRenderItem2D::QSSGRenderItem2D | ( | ) |
Definition at line 11 of file qssgrenderitem2d.cpp.
QSSGRenderItem2D::~QSSGRenderItem2D | ( | ) |
Definition at line 16 of file qssgrenderitem2d.cpp.
References m_rp.
float QSSGRenderItem2D::combinedOpacity = 1.0 |
Definition at line 31 of file qssgrenderitem2d_p.h.
QPointer<QSGRenderer> QSSGRenderItem2D::m_renderer |
Definition at line 34 of file qssgrenderitem2d_p.h.
Referenced by MainPass::renderPass().
QRhiRenderPassDescriptor* QSSGRenderItem2D::m_rp = nullptr |
Definition at line 35 of file qssgrenderitem2d_p.h.
Referenced by ~QSSGRenderItem2D(), and QQuick3DItem2D::updateSpatialNode().
QMatrix4x4 QSSGRenderItem2D::MVP |
Definition at line 30 of file qssgrenderitem2d_p.h.
float QSSGRenderItem2D::zOrder = 0 |
Definition at line 32 of file qssgrenderitem2d_p.h.