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::MatrixType Class Reference

#include <glsltypes_p.h>

Inheritance diagram for GLSL::MatrixType:
Collaboration diagram for GLSL::MatrixType:

Public Member Functions

 MatrixType (const Type *elementType, int columns, int rows, const Type *columnType)
const Type * elementType () const
const Type * columnType () const
int columns () const
int rows () const
QString toString () const override
const MatrixType * asMatrixType () 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 VectorType * asVectorType () 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

Detailed Description

Definition at line 144 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ MatrixType()

GLSL::MatrixType::MatrixType ( const Type * elementType,
int columns,
int rows,
const Type * columnType )
inline

Definition at line 147 of file glsltypes_p.h.

Member Function Documentation

◆ asMatrixType()

const MatrixType * GLSL::MatrixType::asMatrixType ( ) const
inlineoverridevirtual

Reimplemented from GLSL::Type.

Definition at line 156 of file glsltypes_p.h.

◆ columns()

int GLSL::MatrixType::columns ( ) const
inline

Definition at line 152 of file glsltypes_p.h.

◆ columnType()

const Type * GLSL::MatrixType::columnType ( ) const
inline

Definition at line 151 of file glsltypes_p.h.

◆ elementType()

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

Definition at line 150 of file glsltypes_p.h.

◆ isEqualTo()

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

Implements GLSL::Type.

Definition at line 258 of file glsltypes.cpp.

◆ isLessThan()

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

Implements GLSL::Type.

Definition at line 274 of file glsltypes.cpp.

◆ rows()

int GLSL::MatrixType::rows ( ) const
inline

Definition at line 153 of file glsltypes_p.h.

◆ toString()

QString MatrixType::toString ( ) const
overridevirtual

Implements GLSL::Type.

Definition at line 244 of file glsltypes.cpp.


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