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 Class 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 QSSGBounds3 &inBounds, float inDepthBias, float inMinThreshold=-1, float inMaxThreshold=-1)

Public Attributes

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

Member Enumeration Documentation

◆ Type

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

Definition at line 243 of file qssgrenderableobjects_p.h.

Constructor & Destructor Documentation

◆ QSSGRenderableObject()

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

Definition at line 267 of file qssgrenderableobjects_p.h.

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

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

◆ camdistSq

float QSSGRenderableObject::camdistSq = 0.0f

Definition at line 261 of file qssgrenderableobjects_p.h.

◆ depthBiasSq

float QSSGRenderableObject::depthBiasSq

Definition at line 260 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ depthWriteMode

QSSGDepthDrawMode QSSGRenderableObject::depthWriteMode = QSSGDepthDrawMode::OpaqueOnly

Definition at line 262 of file qssgrenderableobjects_p.h.

◆ globalBounds

QSSGBounds3 QSSGRenderableObject::globalBounds

Definition at line 252 of file qssgrenderableobjects_p.h.

◆ globalBoundsInstancing

QSSGBounds3 QSSGRenderableObject::globalBoundsInstancing

Definition at line 255 of file qssgrenderableobjects_p.h.

◆ instancingLodMax

float QSSGRenderableObject::instancingLodMax = -1

Definition at line 265 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ instancingLodMin

float QSSGRenderableObject::instancingLodMin = -1

Definition at line 264 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ renderableFlags

QSSGRenderableObjectFlags QSSGRenderableObject::renderableFlags

Definition at line 257 of file qssgrenderableobjects_p.h.

Referenced by QSSGRenderableObject().

◆ type

const Type QSSGRenderableObject::type

Definition at line 263 of file qssgrenderableobjects_p.h.

◆ worldCenterPoint

QVector3D QSSGRenderableObject::worldCenterPoint

Definition at line 259 of file qssgrenderableobjects_p.h.


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