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::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 SamplerType * asSamplerType () 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 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 OverloadSet * asOverloadSetType () const
virtual const Struct * asStructType () const
virtual const Function * asFunctionType () const

Detailed Description

Definition at line 244 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ SamplerType()

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

Definition at line 247 of file glsltypes_p.h.

Member Function Documentation

◆ asSamplerType()

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

Reimplemented from GLSL::Type.

Definition at line 253 of file glsltypes_p.h.

◆ isEqualTo()

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

Implements GLSL::Type.

Definition at line 439 of file glsltypes.cpp.

◆ isLessThan()

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

Implements GLSL::Type.

Definition at line 448 of file glsltypes.cpp.

◆ kind()

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

Definition at line 250 of file glsltypes_p.h.

◆ toString()

QString SamplerType::toString ( ) const
overridevirtual

Implements GLSL::Type.

Definition at line 434 of file glsltypes.cpp.


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