Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSSGDebugDrawSystem Class Reference

#include <qssgdebugdrawsystem_p.h>

+ Collaboration diagram for QSSGDebugDrawSystem:

Public Member Functions

 QSSGDebugDrawSystem ()
 
 ~QSSGDebugDrawSystem ()
 
bool hasContent () const
 
void drawLine (const QVector3D &startPoint, const QVector3D &endPoint, const QColor &color, bool isPersistent=false)
 
void drawBounds (const QSSGBounds3 &bounds, const QColor &color, bool isPersistent=false)
 
void drawPoint (const QVector3D &vertex, const QColor &color, bool isPersistent=false)
 
void prepareGeometry (QSSGRhiContext *rhiCtx, QRhiResourceUpdateBatch *rub)
 
void recordRenderDebugObjects (QSSGRhiContext *rhiCtx, QSSGRhiGraphicsPipelineState *ps, QRhiShaderResourceBindings *srb, QRhiRenderPassDescriptor *rpDesc)
 

Detailed Description

Definition at line 26 of file qssgdebugdrawsystem_p.h.

Constructor & Destructor Documentation

◆ QSSGDebugDrawSystem()

QT_BEGIN_NAMESPACE QSSGDebugDrawSystem::QSSGDebugDrawSystem ( )

Definition at line 8 of file qssgdebugdrawsystem.cpp.

◆ ~QSSGDebugDrawSystem()

QSSGDebugDrawSystem::~QSSGDebugDrawSystem ( )

Definition at line 13 of file qssgdebugdrawsystem.cpp.

Member Function Documentation

◆ drawBounds()

void QSSGDebugDrawSystem::drawBounds ( const QSSGBounds3 bounds,
const QColor color,
bool  isPersistent = false 
)

Definition at line 35 of file qssgdebugdrawsystem.cpp.

◆ drawLine()

void QSSGDebugDrawSystem::drawLine ( const QVector3D startPoint,
const QVector3D endPoint,
const QColor color,
bool  isPersistent = false 
)

Definition at line 23 of file qssgdebugdrawsystem.cpp.

References line.

◆ drawPoint()

void QSSGDebugDrawSystem::drawPoint ( const QVector3D vertex,
const QColor color,
bool  isPersistent = false 
)

Definition at line 46 of file qssgdebugdrawsystem.cpp.

◆ hasContent()

bool QSSGDebugDrawSystem::hasContent ( ) const

Definition at line 18 of file qssgdebugdrawsystem.cpp.

◆ prepareGeometry()

void QSSGDebugDrawSystem::prepareGeometry ( QSSGRhiContext rhiCtx,
QRhiResourceUpdateBatch rub 
)

Definition at line 56 of file qssgdebugdrawsystem.cpp.

References QByteArray::constData(), QList< T >::constData(), QList< T >::count(), QRhiBuffer::Immutable, QRhiBuffer::IndexBuffer, QRhiCommandBuffer::IndexUInt32, QList< T >::isEmpty(), line, QByteArrayLiteral, QByteArray::size(), QRhiResourceUpdateBatch::uploadStaticBuffer(), and QRhiBuffer::VertexBuffer.

+ Here is the call graph for this function:

◆ recordRenderDebugObjects()


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