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  UniformBufferData
struct  TextureAndOrSamplerData
struct  StorageImageData
struct  StorageBufferData
struct  Alternative

Public Member Functions

Type type () const
template<typename T, Type... Ts>
const T & get () const
const UniformBufferData & ubuf () const
const TextureAndOrSamplerData & stex () const
const StorageImageData & simage () const
const StorageBufferData & sbuf () const
int arraySize () const
template<typename Output>
Output serialize (Output dstdst) const

Public Attributes

int binding
QRhiShaderResourceBinding::StageFlags stage
std::variant< Alternative< UniformBuffer, UniformBufferData >, Alternative< SampledTexture, TextureAndOrSamplerData >, Alternative< Texture, TextureAndOrSamplerData >, Alternative< Sampler, TextureAndOrSamplerData >, Alternative< ImageLoad, StorageImageData >, Alternative< ImageStore, StorageImageData >, Alternative< ImageLoadStore, StorageImageData >, Alternative< BufferLoad, StorageBufferData >, Alternative< BufferStore, StorageBufferData >, Alternative< BufferLoadStore, StorageBufferData > > u

Detailed Description

Definition at line 500 of file qrhi.h.

Member Function Documentation

◆ arraySize()

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

Definition at line 559 of file qrhi.h.

◆ get()

template<typename T, Type... Ts>
const T & QRhiShaderResourceBinding::Data::get ( ) const
inline

Definition at line 546 of file qrhi.h.

◆ sbuf()

const StorageBufferData & QRhiShaderResourceBinding::Data::sbuf ( ) const
inline

Definition at line 557 of file qrhi.h.

◆ serialize()

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

Definition at line 567 of file qrhi.h.

◆ simage()

const StorageImageData & QRhiShaderResourceBinding::Data::simage ( ) const
inline

Definition at line 556 of file qrhi.h.

◆ stex()

const TextureAndOrSamplerData & QRhiShaderResourceBinding::Data::stex ( ) const
inline

Definition at line 555 of file qrhi.h.

◆ type()

Type QRhiShaderResourceBinding::Data::type ( ) const
inline

Definition at line 543 of file qrhi.h.

◆ ubuf()

const UniformBufferData & QRhiShaderResourceBinding::Data::ubuf ( ) const
inline

Definition at line 554 of file qrhi.h.

Member Data Documentation

◆ binding

int QRhiShaderResourceBinding::Data::binding

Definition at line 502 of file qrhi.h.

◆ stage

QRhiShaderResourceBinding::StageFlags QRhiShaderResourceBinding::Data::stage

Definition at line 503 of file qrhi.h.

◆ u


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