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
QRhiShaderResourceBinding::Data Struct Reference

#include <qrhi.h>

Collaboration diagram for QRhiShaderResourceBinding::Data:

Classes

struct  StorageBufferData
struct  StorageImageData
struct  TextureAndOrSamplerData
struct  UniformBufferData

Public Member Functions

int arraySize () const
template<typename Output>
Output serialize (Output dst) const

Public Attributes

int binding
QRhiShaderResourceBinding::StageFlags stage
QRhiShaderResourceBinding::Type type
union { 
   UniformBufferData   ubuf 
   TextureAndOrSamplerData   stex 
   StorageImageData   simage 
   StorageBufferData   sbuf 
u

Static Public Attributes

static constexpr int MAX_TEX_SAMPLER_ARRAY_SIZE = 16

Detailed Description

Definition at line 496 of file qrhi.h.

Member Function Documentation

◆ arraySize()

int QRhiShaderResourceBinding::Data::arraySize ( ) const
inline

Definition at line 528 of file qrhi.h.

◆ serialize()

template<typename Output>
Output QRhiShaderResourceBinding::Data::serialize ( Output dst) const
inline

Definition at line 536 of file qrhi.h.

Member Data Documentation

◆ binding

int QRhiShaderResourceBinding::Data::binding

Definition at line 498 of file qrhi.h.

◆ MAX_TEX_SAMPLER_ARRAY_SIZE

int QRhiShaderResourceBinding::Data::MAX_TEX_SAMPLER_ARRAY_SIZE = 16
staticconstexpr

Definition at line 507 of file qrhi.h.

◆ sbuf

StorageBufferData QRhiShaderResourceBinding::Data::sbuf

Definition at line 525 of file qrhi.h.

◆ simage

StorageImageData QRhiShaderResourceBinding::Data::simage

Definition at line 524 of file qrhi.h.

◆ stage

QRhiShaderResourceBinding::StageFlags QRhiShaderResourceBinding::Data::stage

Definition at line 499 of file qrhi.h.

◆ stex

TextureAndOrSamplerData QRhiShaderResourceBinding::Data::stex

Definition at line 523 of file qrhi.h.

◆ type

QRhiShaderResourceBinding::Type QRhiShaderResourceBinding::Data::type

Definition at line 500 of file qrhi.h.

◆ [union]

union { ... } QRhiShaderResourceBinding::Data::u

◆ ubuf

UniformBufferData QRhiShaderResourceBinding::Data::ubuf

Definition at line 522 of file qrhi.h.


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