Qt 6.x
The Qt SDK
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 377 of file qrhi_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
DynamicUpdate 
StaticUpload 
Read 

Definition at line 378 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 401 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 421 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 390 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 430 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 410 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: