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
QShaderDescription::InOutVariable Struct Reference

\inmodule QtGui More...

#include <qshaderdescription.h>

+ Collaboration diagram for QShaderDescription::InOutVariable:

Public Attributes

QByteArray name
 
VariableType type = Unknown
 
int location = -1
 
int binding = -1
 
int descriptorSet = -1
 
ImageFormat imageFormat = ImageFormatUnknown
 
ImageFlags imageFlags
 
QList< int > arrayDims
 
bool perPatch = false
 
QList< BlockVariablestructMembers
 

Related Symbols

(Note that these are not member symbols.)

bool operator== (const QShaderDescription::InOutVariable &lhs, const QShaderDescription::InOutVariable &rhs) noexcept
 Returns true if the two InOutVariable objects lhs and rhs are equal.
 

Detailed Description

\inmodule QtGui

Since
6.6

Describes an input or output variable in the shader.

Note
This is a RHI API with limited compatibility guarantees, see \l QShaderDescription for details.

Definition at line 198 of file qshaderdescription.h.

Friends And Related Symbol Documentation

◆ operator==()

bool operator== ( const QShaderDescription::InOutVariable & lhs,
const QShaderDescription::InOutVariable & rhs )
related

Returns true if the two InOutVariable objects lhs and rhs are equal.

Definition at line 2009 of file qshaderdescription.cpp.

Member Data Documentation

◆ arrayDims

QList<int> QShaderDescription::InOutVariable::arrayDims

Definition at line 206 of file qshaderdescription.h.

◆ binding

int QShaderDescription::InOutVariable::binding = -1

Definition at line 202 of file qshaderdescription.h.

◆ descriptorSet

int QShaderDescription::InOutVariable::descriptorSet = -1

Definition at line 203 of file qshaderdescription.h.

◆ imageFlags

ImageFlags QShaderDescription::InOutVariable::imageFlags

Definition at line 205 of file qshaderdescription.h.

◆ imageFormat

ImageFormat QShaderDescription::InOutVariable::imageFormat = ImageFormatUnknown

Definition at line 204 of file qshaderdescription.h.

◆ location

int QShaderDescription::InOutVariable::location = -1

Definition at line 201 of file qshaderdescription.h.

◆ name

QByteArray QShaderDescription::InOutVariable::name

Definition at line 199 of file qshaderdescription.h.

◆ perPatch

bool QShaderDescription::InOutVariable::perPatch = false

Definition at line 207 of file qshaderdescription.h.

◆ structMembers

QList<BlockVariable> QShaderDescription::InOutVariable::structMembers

Definition at line 208 of file qshaderdescription.h.

◆ type

VariableType QShaderDescription::InOutVariable::type = Unknown

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