Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
 
QSSGBounds3 globalBoundsInstancing
 
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 225 of file qssgrenderableobjects_p.h.

Member Enumeration Documentation

◆ Type

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

Definition at line 227 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 252 of file qssgrenderableobjects_p.h.

References QSSGRenderableObject(), depthBiasSq, instancingLodMax, instancingLodMin, renderableFlags, and type.

Referenced by QSSGRenderableObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ bounds

const QSSGBounds3& QSSGRenderableObject::bounds

Definition at line 236 of file qssgrenderableobjects_p.h.

◆ camdistSq

float QSSGRenderableObject::camdistSq = 0.0f

Definition at line 246 of file qssgrenderableobjects_p.h.

◆ depthBiasSq

float QSSGRenderableObject::depthBiasSq

Definition at line 245 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ depthWriteMode

QSSGDepthDrawMode QSSGRenderableObject::depthWriteMode = QSSGDepthDrawMode::OpaqueOnly

Definition at line 247 of file qssgrenderableobjects_p.h.

◆ globalBounds

QSSGBounds3 QSSGRenderableObject::globalBounds

Definition at line 237 of file qssgrenderableobjects_p.h.

◆ globalBoundsInstancing

QSSGBounds3 QSSGRenderableObject::globalBoundsInstancing

Definition at line 240 of file qssgrenderableobjects_p.h.

◆ globalTransform

const QMatrix4x4& QSSGRenderableObject::globalTransform

Definition at line 235 of file qssgrenderableobjects_p.h.

◆ instancingLodMax

float QSSGRenderableObject::instancingLodMax = -1

Definition at line 250 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ instancingLodMin

float QSSGRenderableObject::instancingLodMin = -1

Definition at line 249 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ renderableFlags

QSSGRenderableObjectFlags QSSGRenderableObject::renderableFlags

Definition at line 242 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ type

const Type QSSGRenderableObject::type

Definition at line 248 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ worldCenterPoint

QVector3D QSSGRenderableObject::worldCenterPoint

Definition at line 244 of file qssgrenderableobjects_p.h.


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