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

#include <qssgrhicontext_p.h>

+ Collaboration diagram for QSSGRhiBuffer:

Public Member Functions

 QSSGRhiBuffer (QSSGRhiContext &context, QRhiBuffer::Type type, QRhiBuffer::UsageFlags usageMask, quint32 stride, qsizetype size, QRhiCommandBuffer::IndexFormat indexFormat=QRhiCommandBuffer::IndexUInt16)
 
virtual ~QSSGRhiBuffer ()
 
QRhiBufferbuffer () const
 
quint32 stride () const
 
quint32 numVertices () const
 
QRhiCommandBuffer::IndexFormat indexFormat () const
 

Detailed Description

Definition at line 67 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiBuffer()

QSSGRhiBuffer::QSSGRhiBuffer ( QSSGRhiContext context,
QRhiBuffer::Type  type,
QRhiBuffer::UsageFlags  usageMask,
quint32  stride,
qsizetype  size,
QRhiCommandBuffer::IndexFormat  indexFormat = QRhiCommandBuffer::IndexUInt16 
)

Definition at line 21 of file qssgrhicontext.cpp.

References QRhiBuffer::create(), QRhi::newBuffer(), QSSG_ASSERT, qWarning, QSSGRhiContext::rhi(), and QRhiBuffer::size().

+ Here is the call graph for this function:

◆ ~QSSGRhiBuffer()

QSSGRhiBuffer::~QSSGRhiBuffer ( )
virtual

Definition at line 37 of file qssgrhicontext.cpp.

Member Function Documentation

◆ buffer()

QRhiBuffer * QSSGRhiBuffer::buffer ( ) const
inline

Definition at line 80 of file qssgrhicontext_p.h.

◆ indexFormat()

QRhiCommandBuffer::IndexFormat QSSGRhiBuffer::indexFormat ( ) const
inline

Definition at line 87 of file qssgrhicontext_p.h.

◆ numVertices()

quint32 QSSGRhiBuffer::numVertices ( ) const
inline

Definition at line 82 of file qssgrhicontext_p.h.

References Q_ASSERT.

◆ stride()

quint32 QSSGRhiBuffer::stride ( ) const
inline

Definition at line 81 of file qssgrhicontext_p.h.


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