![]() |
Qt 6.x
The Qt SDK
|
#include <glsltypes_p.h>
Public Member Functions | |
VectorType (const Type *elementType, int dimension) | |
QString | toString () const override |
const Type * | elementType () const |
int | dimension () const |
QList< Symbol * > | members () const override |
void | add (Symbol *symbol) override |
Symbol * | find (const QString &name) const override |
const Type * | type () const override |
const VectorType * | asVectorType () const override |
bool | isEqualTo (const Type *other) const override |
bool | isLessThan (const Type *other) const override |
![]() | |
IndexType (const Type *indexElementType) | |
const Type * | indexElementType () const |
const IndexType * | asIndexType () const override |
![]() | |
virtual | ~Type () |
virtual QString | toString () const =0 |
virtual const UndefinedType * | asUndefinedType () const |
virtual const VoidType * | asVoidType () const |
virtual const BoolType * | asBoolType () const |
virtual const IntType * | asIntType () const |
virtual const UIntType * | asUIntType () const |
virtual const FloatType * | asFloatType () const |
virtual const DoubleType * | asDoubleType () const |
virtual const ScalarType * | asScalarType () const |
virtual const IndexType * | asIndexType () const |
virtual const VectorType * | asVectorType () const |
virtual const MatrixType * | asMatrixType () const |
virtual const ArrayType * | asArrayType () const |
virtual const SamplerType * | asSamplerType () const |
virtual const OverloadSet * | asOverloadSetType () const |
virtual const Struct * | asStructType () const |
virtual const Function * | asFunctionType () const |
virtual bool | isEqualTo (const Type *other) const =0 |
virtual bool | isLessThan (const Type *other) const =0 |
![]() | |
Scope (Scope *sscope=nullptr) | |
Symbol * | lookup (const QString &name) const |
virtual QList< Symbol * > | members () const |
virtual void | add (Symbol *symbol)=0 |
virtual Symbol * | find (const QString &name) const =0 |
Scope * | asScope () override |
![]() | |
Symbol (Scope *scope=nullptr) | |
virtual | ~Symbol () |
Scope * | scope () const |
void | setScope (Scope *scope) |
QString | name () const |
void | setName (const QString &name) |
virtual Scope * | asScope () |
virtual Struct * | asStruct () |
virtual Function * | asFunction () |
virtual Argument * | asArgument () |
virtual Block * | asBlock () |
virtual Variable * | asVariable () |
virtual OverloadSet * | asOverloadSet () |
virtual Namespace * | asNamespace () |
virtual const Type * | type () const =0 |
Friends | |
class | Engine |
Definition at line 112 of file glsltypes_p.h.
|
inline |
Definition at line 115 of file glsltypes_p.h.
Implements GLSL::Scope.
Definition at line 132 of file glsltypes.cpp.
References GLSL::Symbol::name().
|
inlineoverridevirtual |
Reimplemented from GLSL::Type.
Definition at line 128 of file glsltypes_p.h.
Referenced by GLSL::Semantic::implicitCast().
|
inline |
Definition at line 120 of file glsltypes_p.h.
Referenced by isLessThan().
|
inline |
Definition at line 119 of file glsltypes_p.h.
Referenced by isEqualTo(), isLessThan(), and toString().
Implements GLSL::Scope.
Definition at line 137 of file glsltypes.cpp.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 216 of file glsltypes.cpp.
References elementType(), and other().
|
overridevirtual |
Implements GLSL::Type.
Definition at line 230 of file glsltypes.cpp.
References dimension(), elementType(), other(), and Q_ASSERT.
Reimplemented from GLSL::Scope.
Definition at line 122 of file glsltypes_p.h.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 118 of file glsltypes.cpp.
References QString::arg(), GLSL::Type::asBoolType(), GLSL::Type::asDoubleType(), GLSL::Type::asIntType(), GLSL::Type::asUIntType(), elementType(), and QString::fromLatin1().
|
inlineoverridevirtual |
Implements GLSL::Symbol.
Definition at line 126 of file glsltypes_p.h.
|
friend |
Definition at line 136 of file glsltypes_p.h.