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
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 384 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 QSSGRenderableObject::globalBounds, QSSGRenderableObject::globalTransform, and QSSGBounds3::transform().

+ Here is the call graph for this function:

Member Data Documentation

◆ colorTable

QSSGRenderableImage* QSSGParticlesRenderable::colorTable

Definition at line 389 of file qssgrenderableobjects_p.h.

◆ [struct]

struct { ... } QSSGParticlesRenderable::depthPrePass

◆ firstImage

QSSGRenderableImage* QSSGParticlesRenderable::firstImage

Definition at line 388 of file qssgrenderableobjects_p.h.

◆ lights

const QSSGShaderLightListView& QSSGParticlesRenderable::lights

Definition at line 390 of file qssgrenderableobjects_p.h.

◆ [struct]

struct { ... } QSSGParticlesRenderable::mainPass

◆ opacity

float QSSGParticlesRenderable::opacity

Definition at line 391 of file qssgrenderableobjects_p.h.

◆ particles

const QSSGRenderParticles& QSSGParticlesRenderable::particles

Definition at line 387 of file qssgrenderableobjects_p.h.

◆ pipeline

QRhiGraphicsPipeline* QSSGParticlesRenderable::pipeline = nullptr

Definition at line 398 of file qssgrenderableobjects_p.h.

◆ [struct]

struct { ... } QSSGParticlesRenderable::reflectionPass

◆ renderer

QSSGRenderer* QSSGParticlesRenderable::renderer = nullptr

Definition at line 386 of file qssgrenderableobjects_p.h.

◆ [struct]

struct { ... } QSSGParticlesRenderable::rhiRenderData

◆ [struct]

struct { ... } QSSGParticlesRenderable::shadowPass

◆ srb

QRhiShaderResourceBindings* QSSGParticlesRenderable::srb[6] = nullptr

Definition at line 399 of file qssgrenderableobjects_p.h.


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