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
QRhiBatchedBindings< T > Struct Template Reference

#include <qrhi_p.h>

+ Collaboration diagram for QRhiBatchedBindings< T >:

Classes

struct  Batch
 

Public Member Functions

void feed (int binding, T resource)
 
bool finish ()
 
void clear ()
 
bool operator== (const QRhiBatchedBindings< T > &other) const
 
bool operator!= (const QRhiBatchedBindings< T > &other) const
 

Public Attributes

QVarLengthArray< Batch, 4 > batches
 

Detailed Description

template<typename T>
struct QRhiBatchedBindings< T >

Definition at line 540 of file qrhi_p.h.

Member Function Documentation

◆ clear()

template<typename T >
void QRhiBatchedBindings< T >::clear ( )
inline

Definition at line 561 of file qrhi_p.h.

References QRhiBatchedBindings< T >::batches, QVarLengthArray< T, Prealloc >::clear(), and QRhiBatchedBindings< T >::Batch::resources.

Referenced by QD3D11ShaderResourceBindings::StageUniformBufferBatches::clear(), QD3D11ShaderResourceBindings::StageSamplerBatches::clear(), QD3D11ShaderResourceBindings::StageUavBatches::clear(), and QMetalCommandBuffer::resetPerPassCachedState().

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

◆ feed()

template<typename T >
void QRhiBatchedBindings< T >::feed ( int binding,
T resource )
inline

Definition at line 542 of file qrhi_p.h.

References QVarLengthArray< T, Prealloc >::append(), QVarLengthArray< T, Prealloc >::clear(), QRhiBatchedBindings< T >::finish(), Q_ASSERT, QRhiBatchedBindings< T >::Batch::resources, and QRhiBatchedBindings< T >::Batch::startBinding.

Referenced by QRhiD3D11::updateShaderResourceBindings().

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

◆ finish()

template<typename T >
bool QRhiBatchedBindings< T >::finish ( )
inline

Definition at line 555 of file qrhi_p.h.

References QRhiBatchedBindings< T >::batches, QVarLengthArray< T, Prealloc >::isEmpty(), and QRhiBatchedBindings< T >::Batch::resources.

Referenced by QRhiBatchedBindings< T >::feed(), QD3D11ShaderResourceBindings::StageUniformBufferBatches::finish(), QD3D11ShaderResourceBindings::StageSamplerBatches::finish(), and QD3D11ShaderResourceBindings::StageUavBatches::finish().

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

◆ operator!=()

template<typename T >
bool QRhiBatchedBindings< T >::operator!= ( const QRhiBatchedBindings< T > & other) const
inline

Definition at line 589 of file qrhi_p.h.

References QRhiBatchedBindings< T >::operator==(), and other().

+ Here is the call graph for this function:

◆ operator==()

template<typename T >
bool QRhiBatchedBindings< T >::operator== ( const QRhiBatchedBindings< T > & other) const
inline

Definition at line 584 of file qrhi_p.h.

References QRhiBatchedBindings< T >::batches, and other().

Referenced by QRhiBatchedBindings< T >::operator!=().

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

Member Data Documentation

◆ batches


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