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
QSSGRenderInstanceTable Struct Reference

#include <qssgrenderinstancetable_p.h>

+ Inheritance diagram for QSSGRenderInstanceTable:
+ Collaboration diagram for QSSGRenderInstanceTable:

Public Member Functions

 QSSGRenderInstanceTable ()
 
int count () const
 
qsizetype dataSize () const
 
const voidconstData () const
 
void setData (const QByteArray &data, int count, int stride)
 
void setInstanceCountOverride (int count)
 
int serial () const
 
int stride () const
 
bool hasTransparency ()
 
void setHasTransparency (bool t)
 
void setDepthSorting (bool enable)
 
bool isDepthSortingEnabled ()
 
QMatrix4x4 getTransform (int index) const
 
- Public Member Functions inherited from QSSGRenderGraphObject
bool hasGraphicsResources () const noexcept
 
virtual Q_QUICK3D_PROFILE_ID_ ~QSSGRenderGraphObject ()
 

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
 
- Public Attributes inherited from QSSGRenderGraphObject
const Type type
 
FlagT flags { 0 }
 
- Protected Member Functions inherited from QSSGRenderGraphObject
 QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType)
 
 QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType, FlagT inFlags)
 

Detailed Description

Definition at line 35 of file qssgrenderinstancetable_p.h.

Constructor & Destructor Documentation

◆ QSSGRenderInstanceTable()

QSSGRenderInstanceTable::QSSGRenderInstanceTable ( )
inline

Definition at line 37 of file qssgrenderinstancetable_p.h.

Member Function Documentation

◆ constData()

const void * QSSGRenderInstanceTable::constData ( ) const
inline

Definition at line 41 of file qssgrenderinstancetable_p.h.

◆ count()

int QSSGRenderInstanceTable::count ( ) const
inline

Definition at line 39 of file qssgrenderinstancetable_p.h.

References instanceCount.

Referenced by QSSGRenderModel::instanceCount().

+ Here is the caller graph for this function:

◆ dataSize()

qsizetype QSSGRenderInstanceTable::dataSize ( ) const
inline

Definition at line 40 of file qssgrenderinstancetable_p.h.

◆ getTransform()

QMatrix4x4 QSSGRenderInstanceTable::getTransform ( int index) const

Definition at line 6 of file qssgrenderinstancetable.cpp.

References Q_ASSERT, and QMatrix4x4::setRow().

+ Here is the call graph for this function:

◆ hasTransparency()

bool QSSGRenderInstanceTable::hasTransparency ( )
inline

Definition at line 46 of file qssgrenderinstancetable_p.h.

◆ isDepthSortingEnabled()

bool QSSGRenderInstanceTable::isDepthSortingEnabled ( )
inline

Definition at line 49 of file qssgrenderinstancetable_p.h.

◆ serial()

int QSSGRenderInstanceTable::serial ( ) const
inline

Definition at line 44 of file qssgrenderinstancetable_p.h.

◆ setData()

void QSSGRenderInstanceTable::setData ( const QByteArray & data,
int count,
int stride )
inline

Definition at line 42 of file qssgrenderinstancetable_p.h.

References instanceCount.

◆ setDepthSorting()

void QSSGRenderInstanceTable::setDepthSorting ( bool enable)
inline

Definition at line 48 of file qssgrenderinstancetable_p.h.

◆ setHasTransparency()

void QSSGRenderInstanceTable::setHasTransparency ( bool t)
inline

Definition at line 47 of file qssgrenderinstancetable_p.h.

◆ setInstanceCountOverride()

void QSSGRenderInstanceTable::setInstanceCountOverride ( int count)
inline

Definition at line 43 of file qssgrenderinstancetable_p.h.

References instanceCount.

◆ stride()

int QSSGRenderInstanceTable::stride ( ) const
inline

Definition at line 45 of file qssgrenderinstancetable_p.h.


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