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 , Copy ,
  Clear
}

Public Member Functions

quint32 fillValue32 () const

Static Public Member Functions

static BufferOp dynamicUpdate (QRhiBuffer *bufbuf, quint32 offsetoffset, quint32 sizesize, const void *datadata)
static void changeToDynamicUpdate (BufferOp *op, QRhiBuffer *bufbuf, quint32 offsetoffset, quint32 sizesize, const void *datadata)
static BufferOp dynamicUpdate (QRhiBuffer *bufbuf, quint32 offsetoffset, QByteArray datadata)
static void changeToDynamicUpdate (BufferOp *op, QRhiBuffer *bufbuf, quint32 offsetoffset, QByteArray datadata)
static BufferOp staticUpload (QRhiBuffer *bufbuf, quint32 offsetoffset, quint32 sizesize, const void *datadata)
static void changeToStaticUpload (BufferOp *op, QRhiBuffer *bufbuf, quint32 offsetoffset, quint32 sizesize, const void *datadata)
static BufferOp staticUpload (QRhiBuffer *bufbuf, quint32 offsetoffset, QByteArray datadata)
static void changeToStaticUpload (BufferOp *op, QRhiBuffer *bufbuf, quint32 offsetoffset, QByteArray datadata)
static BufferOp read (QRhiBuffer *bufbuf, quint32 offsetoffset, quint32 sizesize, QRhiReadbackResult *resultresult)
static BufferOp copy (QRhiBuffer *dstdst, QRhiBuffer *srcsrc, quint32 dstOffset, quint32 srcOffset, quint32 sizesize)
static BufferOp clear (QRhiBuffer *bufbuf, quint32 offsetoffset, quint32 sizesize, quint8 valuevalue)

Public Attributes

Type type
QRhiBuffer * buf
quint32 offset
QRhiBufferData data
quint32 readSize
QRhiReadbackResult * result
QRhiBuffer * src
quint32 srcOffset
quint8 fillValue

Detailed Description

Definition at line 543 of file qrhi_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
DynamicUpdate 
StaticUpload 
Read 
Copy 
Clear 

Definition at line 544 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 584 of file qrhi_p.h.

References buf, 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 568 of file qrhi_p.h.

References buf, DynamicUpdate, and type.

◆ changeToStaticUpload() [1/2]

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

Definition at line 615 of file qrhi_p.h.

References buf, 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 599 of file qrhi_p.h.

References buf, StaticUpload, and type.

◆ clear()

BufferOp QRhiResourceUpdateBatchPrivate::BufferOp::clear ( QRhiBuffer * buf,
quint32 offset,
quint32 size,
quint8 value )
inlinestatic

Definition at line 647 of file qrhi_p.h.

References buf, Clear, and type.

◆ copy()

BufferOp QRhiResourceUpdateBatchPrivate::BufferOp::copy ( QRhiBuffer * dst,
QRhiBuffer * src,
quint32 dstOffset,
quint32 srcOffset,
quint32 size )
inlinestatic

Definition at line 634 of file qrhi_p.h.

References buf, Copy, src, and type.

◆ dynamicUpdate() [1/2]

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

Definition at line 577 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 561 of file qrhi_p.h.

◆ fillValue32()

quint32 QRhiResourceUpdateBatchPrivate::BufferOp::fillValue32 ( ) const
inline

Definition at line 660 of file qrhi_p.h.

◆ read()

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

Definition at line 623 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 608 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 592 of file qrhi_p.h.

Member Data Documentation

◆ buf

QRhiBuffer* QRhiResourceUpdateBatchPrivate::BufferOp::buf

◆ data

QRhiBufferData QRhiResourceUpdateBatchPrivate::BufferOp::data

Definition at line 554 of file qrhi_p.h.

◆ fillValue

quint8 QRhiResourceUpdateBatchPrivate::BufferOp::fillValue

Definition at line 559 of file qrhi_p.h.

◆ offset

◆ readSize

quint32 QRhiResourceUpdateBatchPrivate::BufferOp::readSize

Definition at line 555 of file qrhi_p.h.

◆ result

QRhiReadbackResult* QRhiResourceUpdateBatchPrivate::BufferOp::result

Definition at line 556 of file qrhi_p.h.

◆ src

QRhiBuffer* QRhiResourceUpdateBatchPrivate::BufferOp::src

Definition at line 557 of file qrhi_p.h.

Referenced by copy().

◆ srcOffset

quint32 QRhiResourceUpdateBatchPrivate::BufferOp::srcOffset

Definition at line 558 of file qrhi_p.h.

◆ type


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