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
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 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 249 of file qssgrenderableobjects_p.h.

Member Data Documentation

◆ bounds

const QSSGBounds3& QSSGRenderableObject::bounds

Definition at line 236 of file qssgrenderableobjects_p.h.

◆ camdistSq

float QSSGRenderableObject::camdistSq = 0.0f

◆ depthBiasSq

float QSSGRenderableObject::depthBiasSq

Definition at line 242 of file qssgrenderableobjects_p.h.

◆ depthWriteMode

◆ globalBounds

QSSGBounds3 QSSGRenderableObject::globalBounds

◆ globalTransform

const QMatrix4x4& QSSGRenderableObject::globalTransform

◆ instancingLodMax

float QSSGRenderableObject::instancingLodMax = -1

Definition at line 247 of file qssgrenderableobjects_p.h.

◆ instancingLodMin

float QSSGRenderableObject::instancingLodMin = -1

Definition at line 246 of file qssgrenderableobjects_p.h.

◆ renderableFlags

QSSGRenderableObjectFlags QSSGRenderableObject::renderableFlags

Definition at line 239 of file qssgrenderableobjects_p.h.

◆ type

const Type QSSGRenderableObject::type

Definition at line 245 of file qssgrenderableobjects_p.h.

◆ worldCenterPoint

QVector3D QSSGRenderableObject::worldCenterPoint

Definition at line 241 of file qssgrenderableobjects_p.h.


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