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
GLSL::VectorType Class Reference

#include <glsltypes_p.h>

Inheritance diagram for GLSL::VectorType:
Collaboration diagram for GLSL::VectorType:

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
Public Member Functions inherited from GLSL::IndexType
 IndexType (const Type *indexElementType)
const Type * indexElementType () const
const IndexType * asIndexType () const 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 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
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 Function * asFunction ()
virtual Argument * asArgument ()
virtual Block * asBlock ()
virtual Variable * asVariable ()
virtual OverloadSet * asOverloadSet ()
virtual Namespace * asNamespace ()

Friends

class Engine

Detailed Description

Definition at line 114 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ VectorType()

GLSL::VectorType::VectorType ( const Type * elementType,
int dimension )
inline

Definition at line 117 of file glsltypes_p.h.

Member Function Documentation

◆ add()

void VectorType::add ( Symbol * symbol)
overridevirtual

Implements GLSL::Scope.

Definition at line 134 of file glsltypes.cpp.

◆ asVectorType()

const VectorType * GLSL::VectorType::asVectorType ( ) const
inlineoverridevirtual

Reimplemented from GLSL::Type.

Definition at line 130 of file glsltypes_p.h.

◆ dimension()

int GLSL::VectorType::dimension ( ) const
inline

Definition at line 122 of file glsltypes_p.h.

◆ elementType()

const Type * GLSL::VectorType::elementType ( ) const
inline

Definition at line 121 of file glsltypes_p.h.

◆ find()

Symbol * VectorType::find ( const QString & name) const
overridevirtual

Implements GLSL::Scope.

Definition at line 139 of file glsltypes.cpp.

◆ isEqualTo()

bool VectorType::isEqualTo ( const Type * other) const
overridevirtual

Implements GLSL::Type.

Definition at line 218 of file glsltypes.cpp.

◆ isLessThan()

bool VectorType::isLessThan ( const Type * other) const
overridevirtual

Implements GLSL::Type.

Definition at line 232 of file glsltypes.cpp.

◆ members()

QList< Symbol * > GLSL::VectorType::members ( ) const
inlineoverridevirtual

Reimplemented from GLSL::Scope.

Definition at line 124 of file glsltypes_p.h.

◆ toString()

QString VectorType::toString ( ) const
overridevirtual

Implements GLSL::Type.

Definition at line 120 of file glsltypes.cpp.

◆ type()

const Type * GLSL::VectorType::type ( ) const
inlineoverridevirtual

Implements GLSL::Symbol.

Definition at line 128 of file glsltypes_p.h.

◆ Engine

friend class Engine
friend

Definition at line 138 of file glsltypes_p.h.


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