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
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 dynamicUpdate (QRhiBuffer *buf, quint32 offset, QByteArray data)
static void changeToDynamicUpdate (BufferOp *op, QRhiBuffer *buf, quint32 offset, QByteArray 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 staticUpload (QRhiBuffer *buf, quint32 offset, QByteArray data)
static void changeToStaticUpload (BufferOp *op, QRhiBuffer *buf, quint32 offset, QByteArray 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 422 of file qrhi_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
DynamicUpdate 
StaticUpload 
Read 

Definition at line 423 of file qrhi_p.h.

Member Function Documentation

◆ changeToDynamicUpdate() [1/2]

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

Definition at line 458 of file qrhi_p.h.

References buf, data, DynamicUpdate, and type.

◆ changeToDynamicUpdate() [2/2]

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

Definition at line 442 of file qrhi_p.h.

References buf, data, DynamicUpdate, and type.

◆ changeToStaticUpload() [1/2]

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

Definition at line 489 of file qrhi_p.h.

References buf, data, StaticUpload, and type.

◆ changeToStaticUpload() [2/2]

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

Definition at line 473 of file qrhi_p.h.

References buf, data, StaticUpload, and type.

◆ dynamicUpdate() [1/2]

BufferOp QRhiResourceUpdateBatchPrivate::BufferOp::dynamicUpdate ( QRhiBuffer * buf,
quint32 offset,
QByteArray data )
inlinestatic

Definition at line 451 of file qrhi_p.h.

◆ dynamicUpdate() [2/2]

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

Definition at line 435 of file qrhi_p.h.

◆ read()

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

Definition at line 497 of file qrhi_p.h.

References buf, Read, and type.

◆ staticUpload() [1/2]

BufferOp QRhiResourceUpdateBatchPrivate::BufferOp::staticUpload ( QRhiBuffer * buf,
quint32 offset,
QByteArray data )
inlinestatic

Definition at line 482 of file qrhi_p.h.

◆ staticUpload() [2/2]

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

Definition at line 466 of file qrhi_p.h.

Member Data Documentation

◆ buf

QRhiBuffer* QRhiResourceUpdateBatchPrivate::BufferOp::buf

◆ data

◆ offset

◆ readSize

quint32 QRhiResourceUpdateBatchPrivate::BufferOp::readSize

Definition at line 432 of file qrhi_p.h.

◆ result

QRhiReadbackResult* QRhiResourceUpdateBatchPrivate::BufferOp::result

Definition at line 433 of file qrhi_p.h.

◆ type


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