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
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 327 of file qrhi_p.h.

Constructor & Destructor Documentation

◆ QRhiBufferData() [1/2]

QRhiBufferData::QRhiBufferData ( )
default

◆ ~QRhiBufferData()

QRhiBufferData::~QRhiBufferData ( )
inline

Definition at line 331 of file qrhi_p.h.

References QRhiBufferDataPrivate::ref.

◆ QRhiBufferData() [2/2]

QRhiBufferData::QRhiBufferData ( const QRhiBufferData & other)
inline

Definition at line 336 of file qrhi_p.h.

References QRhiBufferDataPrivate::ref.

Member Function Documentation

◆ assign()

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

Definition at line 361 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 342 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 357 of file qrhi_p.h.

References QRhiBufferDataPrivate::size.

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

+ Here is the caller graph for this function:

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