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
QSSGParticleBuffer Struct Reference

#include <qssgrenderparticles_p.h>

+ Collaboration diagram for QSSGParticleBuffer:

Public Member Functions

void resize (int particleCount, int particleSize=sizeof(QSSGParticleSimple))
 
void resizeLine (int particleCount, int segmentCount)
 
void setBounds (const QSSGBounds3 &bounds)
 
char * pointer ()
 
const char * pointer () const
 
int particlesPerSlice () const
 
int sliceStride () const
 
int particleCount () const
 
int sliceCount () const
 
QSize size () const
 
QByteArray data () const
 
QSSGBounds3 bounds () const
 
int bufferSize () const
 
int serial () const
 
int segments () const
 

Detailed Description

Definition at line 85 of file qssgrenderparticles_p.h.

Member Function Documentation

◆ bounds()

QSSGBounds3 QSSGParticleBuffer::bounds ( ) const

Definition at line 110 of file qssgrenderparticles.cpp.

Referenced by QSSGLayerRenderData::prepareParticlesForRender(), and setBounds().

+ Here is the caller graph for this function:

◆ bufferSize()

int QSSGParticleBuffer::bufferSize ( ) const

Definition at line 95 of file qssgrenderparticles.cpp.

References QByteArray::size().

+ Here is the call graph for this function:

◆ data()

QByteArray QSSGParticleBuffer::data ( ) const

Definition at line 90 of file qssgrenderparticles.cpp.

Referenced by QSSGParticleRenderer::prepareParticlesForModel(), and QSSGParticleRenderer::rhiPrepareRenderable().

+ Here is the caller graph for this function:

◆ particleCount()

int QSSGParticleBuffer::particleCount ( ) const

Definition at line 75 of file qssgrenderparticles.cpp.

Referenced by QSSGParticleRenderer::prepareParticlesForModel(), QSSGLayerRenderData::prepareParticlesForRender(), resize(), resizeLine(), and QSSGParticleRenderer::rhiPrepareRenderable().

+ Here is the caller graph for this function:

◆ particlesPerSlice()

int QSSGParticleBuffer::particlesPerSlice ( ) const

Definition at line 65 of file qssgrenderparticles.cpp.

◆ pointer() [1/2]

char * QSSGParticleBuffer::pointer ( )

Definition at line 55 of file qssgrenderparticles.cpp.

References QByteArray::data().

+ Here is the call graph for this function:

◆ pointer() [2/2]

const char * QSSGParticleBuffer::pointer ( ) const

Definition at line 60 of file qssgrenderparticles.cpp.

References QByteArray::constData().

+ Here is the call graph for this function:

◆ resize()

void QSSGParticleBuffer::resize ( int particleCount,
int particleSize = sizeof(QSSGParticleSimple) )

Definition at line 20 of file qssgrenderparticles.cpp.

References ceilDivide(), divisibleBy(), particleCount(), and QByteArray::resize().

Referenced by resizeLine(), and QQuick3DParticleModelBlendParticle::updateSpatialNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resizeLine()

void QSSGParticleBuffer::resizeLine ( int particleCount,
int segmentCount )

Definition at line 43 of file qssgrenderparticles.cpp.

References particleCount(), resize(), and segmentCount().

+ Here is the call graph for this function:

◆ segments()

int QSSGParticleBuffer::segments ( ) const

Definition at line 105 of file qssgrenderparticles.cpp.

◆ serial()

int QSSGParticleBuffer::serial ( ) const

Definition at line 100 of file qssgrenderparticles.cpp.

Referenced by QSSGParticleRenderer::prepareParticlesForModel().

+ Here is the caller graph for this function:

◆ setBounds()

void QSSGParticleBuffer::setBounds ( const QSSGBounds3 & bounds)

Definition at line 49 of file qssgrenderparticles.cpp.

References bounds().

+ Here is the call graph for this function:

◆ size()

QSize QSSGParticleBuffer::size ( ) const

Definition at line 80 of file qssgrenderparticles.cpp.

Referenced by QSSGParticleRenderer::prepareParticlesForModel(), and QSSGParticleRenderer::rhiPrepareRenderable().

+ Here is the caller graph for this function:

◆ sliceCount()

int QSSGParticleBuffer::sliceCount ( ) const

Definition at line 85 of file qssgrenderparticles.cpp.

References QSize::height().

+ Here is the call graph for this function:

◆ sliceStride()

int QSSGParticleBuffer::sliceStride ( ) const

Definition at line 70 of file qssgrenderparticles.cpp.


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