![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <glsltypes_p.h>
Public Member Functions | |
| Function (Scope *scope=nullptr) | |
| const Type * | returnType () const |
| void | setReturnType (const Type *returnType) |
| QVector< Argument * > | arguments () const |
| void | addArgument (Argument *arg) |
| int | argumentCount () const |
| Argument * | argumentAt (int index) const |
| QString | prettyPrint () const |
| QString | toString () const override |
| const Function * | asFunctionType () const override |
| bool | isEqualTo (const Type *other) const override |
| bool | isLessThan (const Type *other) const override |
| Function * | asFunction () override |
| const Type * | type () const override |
| Symbol * | find (const QString &name) const override |
| QList< Symbol * > | members () const override |
| void | add (Symbol *symbol) override |
| Public Member Functions inherited from GLSL::Type | |
| virtual | ~Type () |
| 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 |
| Public Member Functions inherited from GLSL::Scope | |
| Scope (Scope *sscope=nullptr) | |
| Symbol * | lookup (const QString &name) const |
| Scope * | asScope () override |
| Public Member Functions inherited from GLSL::Symbol | |
| Symbol (Scope *scope=nullptr) | |
| virtual | ~Symbol () |
| Scope * | scope () const |
| void | setScope (Scope *scope) |
| QString | name () const |
| void | setName (const QString &name) |
| virtual Struct * | asStruct () |
| virtual Argument * | asArgument () |
| virtual Block * | asBlock () |
| virtual Variable * | asVariable () |
| virtual OverloadSet * | asOverloadSet () |
| virtual Namespace * | asNamespace () |
Definition at line 202 of file glsltypes_p.h.
|
inline |
Definition at line 205 of file glsltypes_p.h.
Implements GLSL::Scope.
Definition at line 230 of file glsltypes_p.h.
Definition at line 386 of file glsltypes.cpp.
| Argument * Function::argumentAt | ( | int | index | ) | const |
Definition at line 396 of file glsltypes.cpp.
| int Function::argumentCount | ( | ) | const |
Definition at line 391 of file glsltypes.cpp.
Definition at line 381 of file glsltypes.cpp.
|
inlineoverridevirtual |
Reimplemented from GLSL::Symbol.
Definition at line 224 of file glsltypes_p.h.
|
inlineoverridevirtual |
Reimplemented from GLSL::Type.
Definition at line 219 of file glsltypes_p.h.
Implements GLSL::Scope.
Definition at line 423 of file glsltypes.cpp.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 401 of file glsltypes.cpp.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 407 of file glsltypes.cpp.
Reimplemented from GLSL::Scope.
Definition at line 413 of file glsltypes.cpp.
| QString Function::prettyPrint | ( | ) | const |
Definition at line 352 of file glsltypes.cpp.
| const Type * Function::returnType | ( | ) | const |
Definition at line 371 of file glsltypes.cpp.
Definition at line 376 of file glsltypes.cpp.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 347 of file glsltypes.cpp.
|
inlineoverridevirtual |
Implements GLSL::Symbol.
Definition at line 225 of file glsltypes_p.h.