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

#include <qrhi_p.h>

+ Collaboration diagram for QRhiBufferData:

Public Member Functions

 QRhiBufferData ()=default
 
 ~QRhiBufferData ()
 
 QRhiBufferData (const QRhiBufferData &other)
 
QRhiBufferDataoperator= (const QRhiBufferData &other)
 
const char * constData () const
 
quint32 size () const
 
void assign (const char *s, quint32 size)
 

Detailed Description

Definition at line 314 of file qrhi_p.h.

Constructor & Destructor Documentation

◆ QRhiBufferData() [1/2]

QRhiBufferData::QRhiBufferData ( )
default

◆ ~QRhiBufferData()

QRhiBufferData::~QRhiBufferData ( )
inline

Definition at line 318 of file qrhi_p.h.

References QRhiBufferDataPrivate::ref.

◆ QRhiBufferData() [2/2]

QRhiBufferData::QRhiBufferData ( const QRhiBufferData other)
inline

Definition at line 323 of file qrhi_p.h.

References QRhiBufferDataPrivate::ref.

Member Function Documentation

◆ assign()

void QRhiBufferData::assign ( const char *  s,
quint32  size 
)
inline

Definition at line 348 of file qrhi_p.h.

References QRhiBufferDataPrivate::data, QRhiBufferDataPrivate::largeAlloc, QRhiBufferDataPrivate::largeData, QRhiBufferDataPrivate::ref, QRhiBufferDataPrivate::size, size(), and QRhiBufferDataPrivate::SMALL_DATA_SIZE.

Referenced by QRhiResourceUpdateBatchPrivate::BufferOp::changeToDynamicUpdate(), QRhiResourceUpdateBatchPrivate::BufferOp::changeToStaticUpload(), QRhiResourceUpdateBatchPrivate::BufferOp::dynamicUpdate(), and QRhiResourceUpdateBatchPrivate::BufferOp::staticUpload().

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

◆ constData()

const char * QRhiBufferData::constData ( ) const
inline

◆ operator=()

QRhiBufferData & QRhiBufferData::operator= ( const QRhiBufferData other)
inline

Definition at line 329 of file qrhi_p.h.

References other(), and QRhiBufferDataPrivate::ref.

+ Here is the call graph for this function:

◆ size()

quint32 QRhiBufferData::size ( ) const
inline

Definition at line 344 of file qrhi_p.h.

References QRhiBufferDataPrivate::size.

Referenced by assign(), QRhiD3D11::enqueueResourceUpdates(), QRhiGles2::enqueueResourceUpdates(), QRhiMetal::enqueueResourceUpdates(), QRhiVulkan::enqueueResourceUpdates(), and QRhiNull::resourceUpdate().

+ Here is the caller graph for this function:

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