Blender V5.3
MatOp< C, R > Struct Template Reference

#include <gpu_shader_cxx_matrix.hh>

Public Types

using MatT = MatBase<C, R>
using ColT = VecBase<float, R>
using RowT = VecBase<float, C>

Public Member Functions

const ColT & operator[] (int) const
ColT & operator[] (int)
const ColT & operator[] (uint) const
ColT & operator[] (uint)
MatT operator+ () RET
MatT operator- () RET
MatT operator* (MatT) const RET

Friends

RowT operator* (ColT, MatT) RET
ColT operator* (MatT, RowT) RET
MatT operator* (MatT, float) RET
MatT operator* (float, MatT) RET

Detailed Description

template<int C, int R>
struct MatOp< C, R >

Definition at line 28 of file gpu_shader_cxx_matrix.hh.

Member Typedef Documentation

◆ ColT

template<int C, int R>
using MatOp< C, R >::ColT = VecBase<float, R>

Definition at line 30 of file gpu_shader_cxx_matrix.hh.

◆ MatT

template<int C, int R>
using MatOp< C, R >::MatT = MatBase<C, R>

Definition at line 29 of file gpu_shader_cxx_matrix.hh.

◆ RowT

template<int C, int R>
using MatOp< C, R >::RowT = VecBase<float, C>

Definition at line 31 of file gpu_shader_cxx_matrix.hh.

Member Function Documentation

◆ operator*()

template<int C, int R>
MatT MatOp< C, R >::operator* ( MatT ) const

References RET.

◆ operator+()

template<int C, int R>
MatT MatOp< C, R >::operator+ ( )

References RET.

◆ operator-()

template<int C, int R>
MatT MatOp< C, R >::operator- ( )

References RET.

◆ operator[]() [1/4]

template<int C, int R>
ColT & MatOp< C, R >::operator[] ( int )
inline

Definition at line 37 of file gpu_shader_cxx_matrix.hh.

◆ operator[]() [2/4]

template<int C, int R>
const ColT & MatOp< C, R >::operator[] ( int ) const
inline

Definition at line 33 of file gpu_shader_cxx_matrix.hh.

◆ operator[]() [3/4]

template<int C, int R>
ColT & MatOp< C, R >::operator[] ( uint )
inline

Definition at line 45 of file gpu_shader_cxx_matrix.hh.

◆ operator[]() [4/4]

template<int C, int R>
const ColT & MatOp< C, R >::operator[] ( uint ) const
inline

Definition at line 41 of file gpu_shader_cxx_matrix.hh.

◆ operator* [1/4]

template<int C, int R>
RowT operator* ( ColT ,
MatT  )
friend

References RET.

◆ operator* [2/4]

template<int C, int R>
MatT operator* ( float ,
MatT  )
friend

References RET.

◆ operator* [3/4]

template<int C, int R>
MatT operator* ( MatT ,
float  )
friend

References RET.

◆ operator* [4/4]

template<int C, int R>
ColT operator* ( MatT ,
RowT  )
friend

References RET.


The documentation for this struct was generated from the following file: