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
QSSGRhiShaderPipeline::StorageResourceBinding Struct Reference

#include <qssgrhicontext_p.h>

Collaboration diagram for QSSGRhiShaderPipeline::StorageResourceBinding:

Public Member Functions

 StorageResourceBinding ()=default
 StorageResourceBinding (int binding, const QByteArray &name, QRhiShaderResourceBinding::Type type, QRhiBuffer *buffer)
 StorageResourceBinding (int binding, const QByteArray &name, QRhiShaderResourceBinding::Type type, QRhiTexture *texture)

Public Attributes

int binding = 0
QByteArray name
QRhiShaderResourceBinding::Type type = QRhiShaderResourceBinding::BufferLoadStore
QRhiBuffer * buffer = nullptr
QRhiTexture * texture = nullptr

Detailed Description

Definition at line 563 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ StorageResourceBinding() [1/3]

QSSGRhiShaderPipeline::StorageResourceBinding::StorageResourceBinding ( )
default

◆ StorageResourceBinding() [2/3]

QSSGRhiShaderPipeline::StorageResourceBinding::StorageResourceBinding ( int binding,
const QByteArray & name,
QRhiShaderResourceBinding::Type type,
QRhiBuffer * buffer )
inline

Definition at line 571 of file qssgrhicontext_p.h.

References StorageResourceBinding(), and binding.

Referenced by StorageResourceBinding(), and StorageResourceBinding().

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

◆ StorageResourceBinding() [3/3]

QSSGRhiShaderPipeline::StorageResourceBinding::StorageResourceBinding ( int binding,
const QByteArray & name,
QRhiShaderResourceBinding::Type type,
QRhiTexture * texture )
inline

Definition at line 573 of file qssgrhicontext_p.h.

References StorageResourceBinding(), and binding.

Here is the call graph for this function:

Member Data Documentation

◆ binding

int QSSGRhiShaderPipeline::StorageResourceBinding::binding = 0

Definition at line 565 of file qssgrhicontext_p.h.

Referenced by StorageResourceBinding(), and StorageResourceBinding().

◆ buffer

◆ name

QByteArray QSSGRhiShaderPipeline::StorageResourceBinding::name

◆ texture

QRhiTexture* QSSGRhiShaderPipeline::StorageResourceBinding::texture = nullptr

Definition at line 569 of file qssgrhicontext_p.h.

◆ type

QRhiShaderResourceBinding::Type QSSGRhiShaderPipeline::StorageResourceBinding::type = QRhiShaderResourceBinding::BufferLoadStore

Definition at line 567 of file qssgrhicontext_p.h.


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