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>.
|
#include <qssgrenderitem2d_p.h>
Public Attributes | |
QVarLengthArray< QMatrix4x4, 2 > | mvps |
float | combinedOpacity = 1.0 |
float | zOrder = 0 |
QPointer< QSGRenderer > | m_renderer |
QRhiRenderPassDescriptor * | m_rp = nullptr |
Public Attributes inherited from QSSGRenderNode | |
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 |
Public Attributes inherited from QSSGRenderGraphObject | |
const Type | type |
FlagT | flags { 0 } |
Additional Inherited Members | |
Public Types inherited from QSSGRenderNode | |
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> |
Public Types inherited from QSSGRenderGraphObject | |
enum | BaseType : quint32 { Node = 0x1000 , Light = 0x2000 , Camera = 0x4000 , Renderable = 0x8000 , Resource = 0x10000 , Material = 0x20000 , Texture = 0x40000 , Extension = 0x80000 , User = 0x80000000 } |
enum class | Type : quint32 { 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 } |
enum class | Flags : quint32 { HasGraphicsResources = 0x1 } |
using | TypeT = std::underlying_type_t<Type> |
using | FlagT = std::underlying_type_t<Flags> |
Static Public Member Functions inherited from QSSGRenderNode | |
static QMatrix4x4 | calculateTransformMatrix (QVector3D position, QVector3D scale, QVector3D pivot, QQuaternion rotation) |
static void | calculateMVPAndNormalMatrix (const QMatrix4x4 &globalTransfor, const QMatrix4x4 &inViewProjection, QMatrix4x4 &outMVP, QMatrix3x3 &outNormalMatrix) |
static float | signedSquared (float val) |
Static Public Member Functions inherited from QSSGRenderGraphObject | |
static constexpr bool | isNodeType (Type type) noexcept |
static constexpr bool | isLight (Type type) noexcept |
static constexpr bool | isCamera (Type type) noexcept |
static constexpr bool | isMaterial (Type type) noexcept |
static constexpr bool | isTexture (Type type) noexcept |
static constexpr bool | isRenderable (Type type) noexcept |
static constexpr bool | isResource (Type type) noexcept |
static constexpr bool | isExtension (Type type) noexcept |
static constexpr bool | isUserType (Type type) noexcept |
Static Public Attributes inherited from QSSGRenderNode | |
static constexpr QVector3D | initScale { 1.0f, 1.0f, 1.0f } |
Protected Member Functions inherited from QSSGRenderGraphObject | |
QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType) | |
QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType, FlagT inFlags) | |
Definition at line 30 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 35 of file qssgrenderitem2d_p.h.
QPointer<QSGRenderer> QSSGRenderItem2D::m_renderer |
Definition at line 38 of file qssgrenderitem2d_p.h.
Referenced by Item2DPass::renderPass().
QRhiRenderPassDescriptor* QSSGRenderItem2D::m_rp = nullptr |
Definition at line 39 of file qssgrenderitem2d_p.h.
Referenced by ~QSSGRenderItem2D(), and QQuick3DItem2D::updateSpatialNode().
QVarLengthArray<QMatrix4x4, 2> QSSGRenderItem2D::mvps |
Definition at line 34 of file qssgrenderitem2d_p.h.
float QSSGRenderItem2D::zOrder = 0 |
Definition at line 36 of file qssgrenderitem2d_p.h.