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

#include <qssgrenderskin_p.h>

+ Inheritance diagram for QSSGRenderSkin:
+ Collaboration diagram for QSSGRenderSkin:

Public Member Functions

 QSSGRenderSkin ()
 
 ~QSSGRenderSkin () override
 
QByteArrayboneData ()
 
- Public Member Functions inherited from QSSGRenderTextureData
 QSSGRenderTextureData ()
 
 QSSGRenderTextureData (QSSGRenderGraphObject::Type inType)
 
virtual ~QSSGRenderTextureData ()
 
const QByteArraytextureData () const
 
void setTextureData (const QByteArray &data)
 
QSize size () const
 
void setSize (const QSize &size)
 
int depth () const
 
void setDepth (int depth)
 
QSSGRenderTextureFormat format () const
 
void setFormat (QSSGRenderTextureFormat format)
 
bool hasTransparancy () const
 
void setHasTransparency (bool hasTransparency)
 
uint32_t generationId () const
 
- Public Member Functions inherited from QSSGRenderGraphObject
Q_QUICK3D_PROFILE_ID QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType)
 
virtual ~QSSGRenderGraphObject ()
 

Public Attributes

quint32 boneCount = 0
 
- Public Attributes inherited from QSSGRenderTextureData
QString debugObjectName
 
- Public Attributes inherited from QSSGRenderGraphObject
Type type
 

Additional Inherited Members

- 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
}
 
- 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)
 
- Protected Member Functions inherited from QSSGRenderTextureData
void markDirty ()
 
- Protected Attributes inherited from QSSGRenderTextureData
QByteArray m_textureData
 
QSize m_size
 
int m_depth = 0
 
QSSGRenderTextureFormat m_format = QSSGRenderTextureFormat::Unknown
 
bool m_hasTransparency = false
 
uint32_t m_generationId = 1
 

Detailed Description

Definition at line 22 of file qssgrenderskin_p.h.

Constructor & Destructor Documentation

◆ QSSGRenderSkin()

QT_BEGIN_NAMESPACE QSSGRenderSkin::QSSGRenderSkin ( )
explicit

Definition at line 8 of file qssgrenderskin.cpp.

References QSSGRenderTextureFormat::RGBA32F, and QSSGRenderTextureData::setFormat().

+ Here is the call graph for this function:

◆ ~QSSGRenderSkin()

QSSGRenderSkin::~QSSGRenderSkin ( )
override

Definition at line 14 of file qssgrenderskin.cpp.

Member Function Documentation

◆ boneData()

QByteArray & QSSGRenderSkin::boneData ( )

Definition at line 18 of file qssgrenderskin.cpp.

References QSSGRenderTextureData::m_textureData.

Member Data Documentation

◆ boneCount

quint32 QSSGRenderSkin::boneCount = 0

Definition at line 29 of file qssgrenderskin_p.h.


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