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
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
bool hasGraphicsResources () const noexcept
 
virtual Q_QUICK3D_PROFILE_ID_ ~QSSGRenderGraphObject ()
 

Public Attributes

quint32 boneCount = 0
 
- Public Attributes inherited from QSSGRenderTextureData
QString debugObjectName
 
- Public Attributes inherited from QSSGRenderGraphObject
const Type type
 
FlagT flags { 0 }
 

Additional Inherited Members

- 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 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
 
- Protected Member Functions inherited from QSSGRenderTextureData
void markDirty ()
 
- Protected Member Functions inherited from QSSGRenderGraphObject
 QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType)
 
 QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType, FlagT inFlags)
 
- 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: