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

#include <glsltypes_p.h>

+ Inheritance diagram for GLSL::ArrayType:
+ Collaboration diagram for GLSL::ArrayType:

Public Member Functions

 ArrayType (const Type *elementType)
 
const TypeelementType () const
 
QString toString () const override
 
const ArrayTypeasArrayType () 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 TypeindexElementType () const
 
const IndexTypeasIndexType () const override
 
- Public Member Functions inherited from GLSL::Type
virtual ~Type ()
 
virtual const UndefinedTypeasUndefinedType () const
 
virtual const VoidTypeasVoidType () const
 
virtual const BoolTypeasBoolType () const
 
virtual const IntTypeasIntType () const
 
virtual const UIntTypeasUIntType () const
 
virtual const FloatTypeasFloatType () const
 
virtual const DoubleTypeasDoubleType () const
 
virtual const ScalarTypeasScalarType () const
 
virtual const VectorTypeasVectorType () const
 
virtual const MatrixTypeasMatrixType () const
 
virtual const SamplerTypeasSamplerType () const
 
virtual const OverloadSetasOverloadSetType () const
 
virtual const StructasStructType () const
 
virtual const FunctionasFunctionType () const
 

Detailed Description

Definition at line 164 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ ArrayType()

GLSL::ArrayType::ArrayType ( const Type * elementType)
inlineexplicit

Definition at line 167 of file glsltypes_p.h.

Member Function Documentation

◆ asArrayType()

const ArrayType * GLSL::ArrayType::asArrayType ( ) const
inlineoverridevirtual

Reimplemented from GLSL::Type.

Definition at line 173 of file glsltypes_p.h.

◆ elementType()

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

Definition at line 170 of file glsltypes_p.h.

Referenced by isEqualTo(), isLessThan(), and toString().

+ Here is the caller graph for this function:

◆ isEqualTo()

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

Implements GLSL::Type.

Definition at line 293 of file glsltypes.cpp.

References elementType(), GLSL::Type::isEqualTo(), and other().

+ Here is the call graph for this function:

◆ isLessThan()

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

Implements GLSL::Type.

Definition at line 302 of file glsltypes.cpp.

References elementType(), other(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ toString()

QString ArrayType::toString ( ) const
overridevirtual

Implements GLSL::Type.

Definition at line 288 of file glsltypes.cpp.

References elementType(), and GLSL::Type::toString().

+ Here is the call graph for this function:

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