Blender V5.0
MatBase< 2, R > Struct Template Reference

#include <gpu_shader_cxx_matrix.hh>

Inherits MatOp< 2, R >.

Public Types

using T = float
using ColT = VecBase<float, R>
Public Types inherited from MatOp< 2, R >
using MatT
using ColT
using RowT

Public Member Functions

 MatBase ()=default
 MatBase (T)
 MatBase (T, T, T, T)
 MatBase (ColT, ColT)
template<int OtherC, int OtherR>
 MatBase (const MatBase< OtherC, OtherR > &)
Public Member Functions inherited from MatOp< 2, R >
const ColToperator[] (int) const
MatT operator+ () RET
MatT operator- () RET
MatT operator* (MatT) const RET

Public Attributes

ColT x
ColT y

Detailed Description

template<int R>
struct MatBase< 2, R >

Definition at line 50 of file gpu_shader_cxx_matrix.hh.

Member Typedef Documentation

◆ ColT

template<int R>
using MatBase< 2, R >::ColT = VecBase<float, R>

Definition at line 52 of file gpu_shader_cxx_matrix.hh.

◆ T

template<int R>
using MatBase< 2, R >::T = float

Definition at line 51 of file gpu_shader_cxx_matrix.hh.

Constructor & Destructor Documentation

◆ MatBase() [1/5]

template<int R>
MatBase< 2, R >::MatBase ( )
default

Referenced by MatBase().

◆ MatBase() [2/5]

template<int R>
MatBase< 2, R >::MatBase ( T )
inlineexplicit

Definition at line 56 of file gpu_shader_cxx_matrix.hh.

◆ MatBase() [3/5]

template<int R>
MatBase< 2, R >::MatBase ( T ,
T ,
T ,
T  )
inlineexplicit

Definition at line 57 of file gpu_shader_cxx_matrix.hh.

◆ MatBase() [4/5]

template<int R>
MatBase< 2, R >::MatBase ( ColT ,
ColT  )
inlineexplicit

Definition at line 58 of file gpu_shader_cxx_matrix.hh.

◆ MatBase() [5/5]

template<int R>
template<int OtherC, int OtherR>
MatBase< 2, R >::MatBase ( const MatBase< OtherC, OtherR > & )
inlineexplicit

Definition at line 59 of file gpu_shader_cxx_matrix.hh.

References MatBase().

Member Data Documentation

◆ x

template<int R>
ColT MatBase< 2, R >::x

Definition at line 53 of file gpu_shader_cxx_matrix.hh.

◆ y

template<int R>
ColT MatBase< 2, R >::y

Definition at line 53 of file gpu_shader_cxx_matrix.hh.


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