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

#include <qssgrenderableobjects_p.h>

+ Inheritance diagram for QSSGRenderableObject:
+ Collaboration diagram for QSSGRenderableObject:

Public Types

enum class  Type : quint8 { DefaultMaterialMeshSubset , CustomMaterialMeshSubset , Particles }
 

Public Member Functions

 QSSGRenderableObject (Type ty, QSSGRenderableObjectFlags inFlags, const QVector3D &inWorldCenterPt, const QMatrix4x4 &inGlobalTransform, const QSSGBounds3 &inBounds, float inDepthBias, float inMinThreshold=-1, float inMaxThreshold=-1)
 

Public Attributes

const QMatrix4x4globalTransform
 
const QSSGBounds3bounds
 
QSSGBounds3 globalBounds
 
QSSGRenderableObjectFlags renderableFlags
 
QVector3D worldCenterPoint
 
float depthBiasSq
 
float camdistSq = 0.0f
 
QSSGDepthDrawMode depthWriteMode = QSSGDepthDrawMode::OpaqueOnly
 
const Type type
 
float instancingLodMin = -1
 
float instancingLodMax = -1
 

Detailed Description

Definition at line 217 of file qssgrenderableobjects_p.h.

Member Enumeration Documentation

◆ Type

enum class QSSGRenderableObject::Type : quint8
strong
Enumerator
DefaultMaterialMeshSubset 
CustomMaterialMeshSubset 
Particles 

Definition at line 219 of file qssgrenderableobjects_p.h.

Constructor & Destructor Documentation

◆ QSSGRenderableObject()

QSSGRenderableObject::QSSGRenderableObject ( Type  ty,
QSSGRenderableObjectFlags  inFlags,
const QVector3D inWorldCenterPt,
const QMatrix4x4 inGlobalTransform,
const QSSGBounds3 inBounds,
float  inDepthBias,
float  inMinThreshold = -1,
float  inMaxThreshold = -1 
)
inline

Definition at line 241 of file qssgrenderableobjects_p.h.

Member Data Documentation

◆ bounds

const QSSGBounds3& QSSGRenderableObject::bounds

◆ camdistSq

float QSSGRenderableObject::camdistSq = 0.0f

◆ depthBiasSq

float QSSGRenderableObject::depthBiasSq

Definition at line 234 of file qssgrenderableobjects_p.h.

◆ depthWriteMode

◆ globalBounds

QSSGBounds3 QSSGRenderableObject::globalBounds

◆ globalTransform

◆ instancingLodMax

float QSSGRenderableObject::instancingLodMax = -1

◆ instancingLodMin

float QSSGRenderableObject::instancingLodMin = -1

◆ renderableFlags

◆ type

◆ worldCenterPoint

QVector3D QSSGRenderableObject::worldCenterPoint

Definition at line 233 of file qssgrenderableobjects_p.h.


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