Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
GLSL::SamplerType Class Reference

#include <glsltypes_p.h>

+ Inheritance diagram for GLSL::SamplerType:
+ Collaboration diagram for GLSL::SamplerType:

Public Member Functions

 SamplerType (int kind)
 
int kind () const
 
QString toString () const override
 
const SamplerTypeasSamplerType () const override
 
bool isEqualTo (const Type *other) const override
 
bool isLessThan (const Type *other) const override
 
- Public Member Functions inherited from GLSL::Type
virtual ~Type ()
 
virtual QString toString () const =0
 
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 IndexTypeasIndexType () const
 
virtual const VectorTypeasVectorType () const
 
virtual const MatrixTypeasMatrixType () const
 
virtual const ArrayTypeasArrayType () const
 
virtual const SamplerTypeasSamplerType () const
 
virtual const OverloadSetasOverloadSetType () const
 
virtual const StructasStructType () const
 
virtual const FunctionasFunctionType () const
 
virtual bool isEqualTo (const Type *other) const =0
 
virtual bool isLessThan (const Type *other) const =0
 

Detailed Description

Definition at line 242 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ SamplerType()

GLSL::SamplerType::SamplerType ( int  kind)
inlineexplicit

Definition at line 245 of file glsltypes_p.h.

Member Function Documentation

◆ asSamplerType()

const SamplerType * GLSL::SamplerType::asSamplerType ( ) const
inlineoverridevirtual

Reimplemented from GLSL::Type.

Definition at line 251 of file glsltypes_p.h.

◆ isEqualTo()

bool SamplerType::isEqualTo ( const Type other) const
overridevirtual

Implements GLSL::Type.

Definition at line 437 of file glsltypes.cpp.

References other().

+ Here is the call graph for this function:

◆ isLessThan()

bool SamplerType::isLessThan ( const Type other) const
overridevirtual

Implements GLSL::Type.

Definition at line 446 of file glsltypes.cpp.

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

+ Here is the call graph for this function:

◆ kind()

int GLSL::SamplerType::kind ( ) const
inline

Definition at line 248 of file glsltypes_p.h.

Referenced by isLessThan().

+ Here is the caller graph for this function:

◆ toString()

QString SamplerType::toString ( ) const
overridevirtual

Implements GLSL::Type.

Definition at line 432 of file glsltypes.cpp.

References GLSLParserTable::spell.


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