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
QRhiResourceUpdateBatchPrivate::BufferOp Struct Reference

#include <qrhi_p.h>

+ Collaboration diagram for QRhiResourceUpdateBatchPrivate::BufferOp:

Public Types

enum  Type { DynamicUpdate , StaticUpload , Read }
 

Static Public Member Functions

static BufferOp dynamicUpdate (QRhiBuffer *buf, quint32 offset, quint32 size, const void *data)
 
static void changeToDynamicUpdate (BufferOp *op, QRhiBuffer *buf, quint32 offset, quint32 size, const void *data)
 
static BufferOp staticUpload (QRhiBuffer *buf, quint32 offset, quint32 size, const void *data)
 
static void changeToStaticUpload (BufferOp *op, QRhiBuffer *buf, quint32 offset, quint32 size, const void *data)
 
static BufferOp read (QRhiBuffer *buf, quint32 offset, quint32 size, QRhiReadbackResult *result)
 

Public Attributes

Type type
 
QRhiBufferbuf
 
quint32 offset
 
QRhiBufferData data
 
quint32 readSize
 
QRhiReadbackResultresult
 

Detailed Description

Definition at line 390 of file qrhi_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
DynamicUpdate 
StaticUpload 
Read 

Definition at line 391 of file qrhi_p.h.

Member Function Documentation

◆ changeToDynamicUpdate()

static void QRhiResourceUpdateBatchPrivate::BufferOp::changeToDynamicUpdate ( BufferOp * op,
QRhiBuffer * buf,
quint32 offset,
quint32 size,
const void * data )
inlinestatic

Definition at line 414 of file qrhi_p.h.

References QRhiBufferData::assign(), buf, data, DynamicUpdate, offset, and type.

Referenced by QRhiResourceUpdateBatch::updateDynamicBuffer().

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

◆ changeToStaticUpload()

static void QRhiResourceUpdateBatchPrivate::BufferOp::changeToStaticUpload ( BufferOp * op,
QRhiBuffer * buf,
quint32 offset,
quint32 size,
const void * data )
inlinestatic

Definition at line 434 of file qrhi_p.h.

References QRhiBufferData::assign(), buf, data, offset, StaticUpload, and type.

Referenced by QRhiResourceUpdateBatch::uploadStaticBuffer(), and QRhiResourceUpdateBatch::uploadStaticBuffer().

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

◆ dynamicUpdate()

static BufferOp QRhiResourceUpdateBatchPrivate::BufferOp::dynamicUpdate ( QRhiBuffer * buf,
quint32 offset,
quint32 size,
const void * data )
inlinestatic

Definition at line 403 of file qrhi_p.h.

References QRhiBufferData::assign(), buf, data, DynamicUpdate, offset, and type.

Referenced by QRhiResourceUpdateBatch::updateDynamicBuffer().

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

◆ read()

static BufferOp QRhiResourceUpdateBatchPrivate::BufferOp::read ( QRhiBuffer * buf,
quint32 offset,
quint32 size,
QRhiReadbackResult * result )
inlinestatic

Definition at line 443 of file qrhi_p.h.

References buf, offset, Read, readSize, result, and type.

Referenced by QRhiResourceUpdateBatch::readBackBuffer().

+ Here is the caller graph for this function:

◆ staticUpload()

static BufferOp QRhiResourceUpdateBatchPrivate::BufferOp::staticUpload ( QRhiBuffer * buf,
quint32 offset,
quint32 size,
const void * data )
inlinestatic

Definition at line 423 of file qrhi_p.h.

References QRhiBufferData::assign(), buf, data, offset, StaticUpload, and type.

Referenced by QRhiResourceUpdateBatch::uploadStaticBuffer(), and QRhiResourceUpdateBatch::uploadStaticBuffer().

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

Member Data Documentation

◆ buf

◆ data

◆ offset

◆ readSize

quint32 QRhiResourceUpdateBatchPrivate::BufferOp::readSize

◆ result

◆ type


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