Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 14 of file qssgdebugdrawsystem.cpp.

◆ ~QSSGDebugDrawSystem()

QSSGDebugDrawSystem::~QSSGDebugDrawSystem ( )

Definition at line 19 of file qssgdebugdrawsystem.cpp.

Member Function Documentation

◆ drawBounds()

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

Definition at line 41 of file qssgdebugdrawsystem.cpp.

◆ drawLine()

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

Definition at line 29 of file qssgdebugdrawsystem.cpp.

◆ drawPoint()

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

Definition at line 52 of file qssgdebugdrawsystem.cpp.

◆ hasContent()

bool QSSGDebugDrawSystem::hasContent ( ) const

Definition at line 24 of file qssgdebugdrawsystem.cpp.

◆ isEnabled()

bool QSSGDebugDrawSystem::isEnabled ( ) const
inlinenodiscard

Definition at line 57 of file qssgdebugdrawsystem_p.h.

◆ prepareGeometry()

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

Definition at line 62 of file qssgdebugdrawsystem.cpp.

◆ recordRenderDebugObjects()

void QSSGDebugDrawSystem::recordRenderDebugObjects ( QSSGRhiContext * rhiCtx,
QSSGRhiGraphicsPipelineState * ps,
QRhiShaderResourceBindings * srb,
QRhiRenderPassDescriptor * rpDesc )

Definition at line 126 of file qssgdebugdrawsystem.cpp.

◆ setEnabled()

void QSSGDebugDrawSystem::setEnabled ( bool v)

Definition at line 178 of file qssgdebugdrawsystem.cpp.

◆ 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: