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

#include <qssgrenderableobjects_p.h>

+ Inheritance diagram for QSSGParticlesRenderable:
+ Collaboration diagram for QSSGParticlesRenderable:

Public Member Functions

 QSSGParticlesRenderable (QSSGRenderableObjectFlags inFlags, const QVector3D &inWorldCenterPt, QSSGRenderer *rendr, const QSSGRenderParticles &inParticles, QSSGRenderableImage *inFirstImage, QSSGRenderableImage *inColorTable, const QSSGShaderLightListView &inLights, float inOpacity)
 
- Public Member Functions inherited from QSSGRenderableObject
 QSSGRenderableObject (Type ty, QSSGRenderableObjectFlags inFlags, const QVector3D &inWorldCenterPt, const QMatrix4x4 &inGlobalTransform, const QSSGBounds3 &inBounds, float inDepthBias, float inMinThreshold=-1, float inMaxThreshold=-1)
 

Public Attributes

QSSGRendererrenderer = nullptr
 
const QSSGRenderParticlesparticles
 
QSSGRenderableImagefirstImage
 
QSSGRenderableImagecolorTable
 
const QSSGShaderLightListViewlights
 
float opacity
 
struct { 
 
   struct { 
 
      QRhiGraphicsPipeline *   pipeline = nullptr 
 
      QRhiShaderResourceBindings *   srb = nullptr 
 
   }   mainPass 
 
   struct { 
 
      QRhiGraphicsPipeline *   pipeline = nullptr 
 
      QRhiShaderResourceBindings *   srb = nullptr 
 
   }   depthPrePass 
 
   struct { 
 
      QRhiGraphicsPipeline *   pipeline = nullptr 
 
      QRhiShaderResourceBindings *   srb [6] = {} 
 
   }   shadowPass 
 
   struct { 
 
      QRhiGraphicsPipeline *   pipeline = nullptr 
 
      QRhiShaderResourceBindings *   srb [6] = {} 
 
   }   reflectionPass 
 
rhiRenderData 
 
- Public Attributes inherited from QSSGRenderableObject
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
 

Additional Inherited Members

- Public Types inherited from QSSGRenderableObject
enum class  Type : quint8 { DefaultMaterialMeshSubset , CustomMaterialMeshSubset , Particles }
 

Detailed Description

A renderable that corresponds to a particles.

Definition at line 366 of file qssgrenderableobjects_p.h.

Constructor & Destructor Documentation

◆ QSSGParticlesRenderable()

QSSGParticlesRenderable::QSSGParticlesRenderable ( QSSGRenderableObjectFlags  inFlags,
const QVector3D inWorldCenterPt,
QSSGRenderer rendr,
const QSSGRenderParticles inParticles,
QSSGRenderableImage inFirstImage,
QSSGRenderableImage inColorTable,
const QSSGShaderLightListView inLights,
float  inOpacity 
)

Definition at line 59 of file qssgrenderableobjects.cpp.

References QSSGParticleBuffer::bounds(), QSSGRenderableObject::globalBounds, QSSGRenderableObject::globalTransform, QSSGRenderParticles::m_particleBuffer, QSSGBounds3::transform(), and QSSGRenderGraphObject::type.

+ Here is the call graph for this function:

Member Data Documentation

◆ colorTable

QSSGRenderableImage* QSSGParticlesRenderable::colorTable

◆ [struct]

struct { ... } QSSGParticlesRenderable::depthPrePass

◆ firstImage

◆ lights

const QSSGShaderLightListView& QSSGParticlesRenderable::lights

◆ [struct]

struct { ... } QSSGParticlesRenderable::mainPass

◆ opacity

float QSSGParticlesRenderable::opacity

◆ particles

◆ pipeline

◆ [struct]

struct { ... } QSSGParticlesRenderable::reflectionPass

◆ renderer

QSSGRenderer* QSSGParticlesRenderable::renderer = nullptr

Definition at line 368 of file qssgrenderableobjects_p.h.

Referenced by shadersForParticleMaterial().

◆ [struct]

struct { ... } QSSGParticlesRenderable::rhiRenderData

◆ [struct]

struct { ... } QSSGParticlesRenderable::shadowPass

◆ srb


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