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>.
|
#include <qssgrenderableobjects_p.h>
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 QMatrix4x4 & | globalTransform |
const QSSGBounds3 & | bounds |
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 |
Definition at line 225 of file qssgrenderableobjects_p.h.
|
strong |
Enumerator | |
---|---|
DefaultMaterialMeshSubset | |
CustomMaterialMeshSubset | |
Particles |
Definition at line 227 of file qssgrenderableobjects_p.h.
|
inline |
Definition at line 249 of file qssgrenderableobjects_p.h.
const QSSGBounds3& QSSGRenderableObject::bounds |
Definition at line 236 of file qssgrenderableobjects_p.h.
float QSSGRenderableObject::camdistSq = 0.0f |
Definition at line 243 of file qssgrenderableobjects_p.h.
Referenced by QSSGLayerRenderData::prepareModelsForRender().
float QSSGRenderableObject::depthBiasSq |
Definition at line 242 of file qssgrenderableobjects_p.h.
QSSGDepthDrawMode QSSGRenderableObject::depthWriteMode = QSSGDepthDrawMode::OpaqueOnly |
Definition at line 244 of file qssgrenderableobjects_p.h.
Referenced by QSSGSubsetRenderable::QSSGSubsetRenderable(), OpaquePass::prep(), TransparentPass::prep(), and ScreenReflectionPass::renderPrep().
QSSGBounds3 QSSGRenderableObject::globalBounds |
Definition at line 237 of file qssgrenderableobjects_p.h.
Referenced by QSSGParticlesRenderable::QSSGParticlesRenderable(), and QSSGSubsetRenderable::QSSGSubsetRenderable().
const QMatrix4x4& QSSGRenderableObject::globalTransform |
Definition at line 235 of file qssgrenderableobjects_p.h.
Referenced by QSSGParticlesRenderable::QSSGParticlesRenderable(), and QSSGSubsetRenderable::QSSGSubsetRenderable().
float QSSGRenderableObject::instancingLodMax = -1 |
Definition at line 247 of file qssgrenderableobjects_p.h.
float QSSGRenderableObject::instancingLodMin = -1 |
Definition at line 246 of file qssgrenderableobjects_p.h.
QSSGRenderableObjectFlags QSSGRenderableObject::renderableFlags |
Definition at line 239 of file qssgrenderableobjects_p.h.
const Type QSSGRenderableObject::type |
Definition at line 245 of file qssgrenderableobjects_p.h.
QVector3D QSSGRenderableObject::worldCenterPoint |
Definition at line 241 of file qssgrenderableobjects_p.h.