Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSSGRenderMorphTarget Struct Reference

#include <qssgrendermorphtarget_p.h>

+ Inheritance diagram for QSSGRenderMorphTarget:
+ Collaboration diagram for QSSGRenderMorphTarget:

Public Types

enum class  InputAttribute : quint8 {
  Position = 0x01 , Normal = 0x02 , Tangent = 0x04 , Binormal = 0x08 ,
  TexCoord0 = 0x10 , TexCoord1 = 0x20 , Color = 0x40
}
 
- Public Types inherited from QSSGRenderGraphObject
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
}
 

Public Member Functions

 Q_DECLARE_FLAGS (InputAttributes, InputAttribute)
 
 QSSGRenderMorphTarget ()
 
 ~QSSGRenderMorphTarget ()
 
- Public Member Functions inherited from QSSGRenderGraphObject
Q_QUICK3D_PROFILE_ID QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType)
 
virtual ~QSSGRenderGraphObject ()
 

Public Attributes

float weight = 0.0f
 
InputAttributes attributes
 
- Public Attributes inherited from QSSGRenderGraphObject
Type type
 

Additional Inherited Members

- Static Public Member Functions inherited from QSSGRenderGraphObject
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)
 

Detailed Description

Definition at line 25 of file qssgrendermorphtarget_p.h.

Member Enumeration Documentation

◆ InputAttribute

Enumerator
Position 
Normal 
Tangent 
Binormal 
TexCoord0 
TexCoord1 
Color 

Definition at line 27 of file qssgrendermorphtarget_p.h.

Constructor & Destructor Documentation

◆ QSSGRenderMorphTarget()

QT_BEGIN_NAMESPACE QSSGRenderMorphTarget::QSSGRenderMorphTarget ( )

Definition at line 9 of file qssgrendermorphtarget.cpp.

◆ ~QSSGRenderMorphTarget()

QSSGRenderMorphTarget::~QSSGRenderMorphTarget ( )
default

Member Function Documentation

◆ Q_DECLARE_FLAGS()

QSSGRenderMorphTarget::Q_DECLARE_FLAGS ( InputAttributes  ,
InputAttribute   
)

Member Data Documentation

◆ attributes

InputAttributes QSSGRenderMorphTarget::attributes

Definition at line 40 of file qssgrendermorphtarget_p.h.

◆ weight

float QSSGRenderMorphTarget::weight = 0.0f

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