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
QSSGRhiShaderResourceBindingList Class Reference

#include <qssgrhicontext_p.h>

Collaboration diagram for QSSGRhiShaderResourceBindingList:

Public Member Functions

void clear ()
 QSSGRhiShaderResourceBindingList ()
 QSSGRhiShaderResourceBindingList (const QSSGRhiShaderResourceBindingList &other)
QSSGRhiShaderResourceBindingList & operator= (const QSSGRhiShaderResourceBindingList &other) Q_DECL_NOTHROW
void addUniformBuffer (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiBuffer *buf, int offset=0, int size=0, bool hasDynamicOffset=false)
void addTexture (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiTexture *tex, QRhiSampler *sampler)
void addImageLoad (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiTexture *tex, int level)
void addImageStore (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiTexture *tex, int level)
void addImageLoadStore (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiTexture *tex, int level)
void addStorageBufferLoad (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiBuffer *buf, int offset=0, int size=0)
void addStorageBufferStore (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiBuffer *buf, int offset=0, int size=0)
void addStorageBufferLoadStore (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiBuffer *buf, int offset=0, int size=0)

Public Attributes

int p = 0
size_t h = 0
QRhiShaderResourceBinding v [MAX_SIZE]

Static Public Attributes

static const int MAX_SIZE = 32

Detailed Description

Definition at line 606 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiShaderResourceBindingList() [1/2]

QSSGRhiShaderResourceBindingList::QSSGRhiShaderResourceBindingList ( )
inline

Definition at line 617 of file qssgrhicontext_p.h.

◆ QSSGRhiShaderResourceBindingList() [2/2]

QSSGRhiShaderResourceBindingList::QSSGRhiShaderResourceBindingList ( const QSSGRhiShaderResourceBindingList & other)
inline

Definition at line 619 of file qssgrhicontext_p.h.

Member Function Documentation

◆ addImageLoad()

void QSSGRhiShaderResourceBindingList::addImageLoad ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiTexture * tex,
int level )

Definition at line 1763 of file qssgrhicontext.cpp.

◆ addImageLoadStore()

void QSSGRhiShaderResourceBindingList::addImageLoadStore ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiTexture * tex,
int level )

Definition at line 1779 of file qssgrhicontext.cpp.

◆ addImageStore()

void QSSGRhiShaderResourceBindingList::addImageStore ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiTexture * tex,
int level )

Definition at line 1771 of file qssgrhicontext.cpp.

◆ addStorageBufferLoad()

void QSSGRhiShaderResourceBindingList::addStorageBufferLoad ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiBuffer * buf,
int offset = 0,
int size = 0 )

Definition at line 1733 of file qssgrhicontext.cpp.

◆ addStorageBufferLoadStore()

void QSSGRhiShaderResourceBindingList::addStorageBufferLoadStore ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiBuffer * buf,
int offset = 0,
int size = 0 )

Definition at line 1725 of file qssgrhicontext.cpp.

◆ addStorageBufferStore()

void QSSGRhiShaderResourceBindingList::addStorageBufferStore ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiBuffer * buf,
int offset = 0,
int size = 0 )

Definition at line 1741 of file qssgrhicontext.cpp.

◆ addTexture()

void QSSGRhiShaderResourceBindingList::addTexture ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiTexture * tex,
QRhiSampler * sampler )

Definition at line 1749 of file qssgrhicontext.cpp.

◆ addUniformBuffer()

void QSSGRhiShaderResourceBindingList::addUniformBuffer ( int binding,
QRhiShaderResourceBinding::StageFlags stage,
QRhiBuffer * buf,
int offset = 0,
int size = 0,
bool hasDynamicOffset = false )

Definition at line 1710 of file qssgrhicontext.cpp.

◆ clear()

void QSSGRhiShaderResourceBindingList::clear ( )
inline

Definition at line 615 of file qssgrhicontext_p.h.

◆ operator=()

QSSGRhiShaderResourceBindingList & QSSGRhiShaderResourceBindingList::operator= ( const QSSGRhiShaderResourceBindingList & other)
inline

Definition at line 627 of file qssgrhicontext_p.h.

Member Data Documentation

◆ h

size_t QSSGRhiShaderResourceBindingList::h = 0

Definition at line 612 of file qssgrhicontext_p.h.

◆ MAX_SIZE

const int QSSGRhiShaderResourceBindingList::MAX_SIZE = 32
static

Definition at line 609 of file qssgrhicontext_p.h.

◆ p

int QSSGRhiShaderResourceBindingList::p = 0

Definition at line 611 of file qssgrhicontext_p.h.

◆ v

QRhiShaderResourceBinding QSSGRhiShaderResourceBindingList::v[MAX_SIZE]

Definition at line 613 of file qssgrhicontext_p.h.


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