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
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)
 
void setEnabled (bool v)
 
bool isEnabled () const
 

Friends

class QSSGLayerRenderData
 

Detailed Description

Definition at line 30 of file qssgdebugdrawsystem_p.h.

Constructor & Destructor Documentation

◆ QSSGDebugDrawSystem()

QT_BEGIN_NAMESPACE QSSGDebugDrawSystem::QSSGDebugDrawSystem ( )

Definition at line 13 of file qssgdebugdrawsystem.cpp.

◆ ~QSSGDebugDrawSystem()

QSSGDebugDrawSystem::~QSSGDebugDrawSystem ( )

Definition at line 18 of file qssgdebugdrawsystem.cpp.

Member Function Documentation

◆ drawBounds()

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

Definition at line 40 of file qssgdebugdrawsystem.cpp.

◆ drawLine()

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

Definition at line 28 of file qssgdebugdrawsystem.cpp.

References line.

◆ drawPoint()

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

Definition at line 51 of file qssgdebugdrawsystem.cpp.

◆ hasContent()

bool QSSGDebugDrawSystem::hasContent ( ) const

Definition at line 23 of file qssgdebugdrawsystem.cpp.

◆ isEnabled()

bool QSSGDebugDrawSystem::isEnabled ( ) const
inline

Definition at line 57 of file qssgdebugdrawsystem_p.h.

◆ prepareGeometry()

◆ recordRenderDebugObjects()

◆ setEnabled()

void QSSGDebugDrawSystem::setEnabled ( bool v)

Definition at line 177 of file qssgdebugdrawsystem.cpp.

Friends And Related Symbol Documentation

◆ QSSGLayerRenderData

friend class QSSGLayerRenderData
friend

Definition at line 60 of file qssgdebugdrawsystem_p.h.


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