GLSL Struct 1.4.0
glslstruct
Loading...
Searching...
No Matches
Glsl type containers

type containers are for people that want to know of which type is value stored in struct More...

Collaboration diagram for Glsl type containers:

Classes

class  glslstruct::array_type
 array type container More...
struct  std::hash< glslstruct::array_type >
 std::hash overload for array_type More...
class  glslstruct::mat_type
 mat type container More...
struct  std::hash< glslstruct::mat_type >
 std::hash overload for mat_type More...
class  glslstruct::scalar_type
 scalar type container More...
struct  std::hash< glslstruct::scalar_type >
 std::hash overload for scalar_type More...
class  glslstruct::vec_type
 vec type container More...
struct  std::hash< glslstruct::vec_type >
 std::hash overload for vec_type More...
class  glslstruct::base_type
 base class for all glsl type containers More...
struct  std::hash< glslstruct::base_type >
 std::hash overload for base_type More...
class  glslstruct::struct_type
 struct type container More...
struct  std::hash< glslstruct::struct_type >
 std::hash overload for struct_type More...
class  glslstruct::type< Derived >
 intermediate glsl type containers More...
struct  std::hash< glslstruct::var_data >
 std::hash overload for var_data More...

Functions

bool glslstruct::operator== (const array_type &lhs, const array_type &rhs)
 checks if two array types are equal
bool glslstruct::operator!= (const array_type &lhs, const array_type &rhs)
 checks if two array types are not equal
bool glslstruct::operator== (const mat_type &lhs, const mat_type &rhs)
 checks if two mats types are equal
bool glslstruct::operator!= (const mat_type &lhs, const mat_type &rhs)
 checks if two mats types are not equal
bool glslstruct::operator== (const scalar_type &lhs, const scalar_type &rhs)
 checks if two scalar types are equal
bool glslstruct::operator!= (const scalar_type &lhs, const scalar_type &rhs)
 checks if two scalar types are not equal
bool glslstruct::operator== (const vec_type &lhs, const vec_type &rhs)
 checks if two vec types are equal
bool glslstruct::operator!= (const vec_type &lhs, const vec_type &rhs)
 checks if two vec types are not equal
size_t glslstruct::sizeof_type (const base_type_handle &type) noexcept
 returns size of given type
template<utils::glsl_type T>
size_t glslstruct::sizeof_type (const std::shared_ptr< T > &type) noexcept
 returns size of given type
std::string glslstruct::to_string (const base_type_handle &type) noexcept
 converts type to string
template<utils::glsl_type T>
std::string glslstruct::to_string (const std::shared_ptr< T > &type) noexcept
 converts type to string
template<utils::glsl_type T>
_GLSL_STRUCT_CONSTEXPR20 bool glslstruct::operator== (const base_type &lhs, const T &rhs)
 checks if types are equal
template<utils::glsl_type T>
_GLSL_STRUCT_CONSTEXPR20 bool glslstruct::operator!= (const base_type &lhs, const T &rhs)
 checks if types are not equal
bool glslstruct::operator== (const struct_type &lhs, const struct_type &rhs)
 checks if two struct types are equal
bool glslstruct::operator!= (const struct_type &lhs, const struct_type &rhs)
 checks if two struct types are not equal
template<class DerivedA, class DerivedB>
_GLSL_STRUCT_CONSTEXPR17 bool glslstruct::operator== (const type< DerivedA > &lhs, const type< DerivedB > &rhs)
 equal operator for two intermediate types
template<class DerivedA, class DerivedB>
_GLSL_STRUCT_CONSTEXPR17 bool glslstruct::operator!= (const type< DerivedA > &lhs, const type< DerivedB > &rhs)
 not equal operator for two intermediate types

Detailed Description

type containers are for people that want to know of which type is value stored in struct

Function Documentation

◆ operator!=() [1/7]

bool glslstruct::operator!= ( const array_type & lhs,
const array_type & rhs )
nodiscarddefaultnoexcept

checks if two array types are not equal

◆ operator!=() [2/7]

template<utils::glsl_type T>
_GLSL_STRUCT_CONSTEXPR20 bool glslstruct::operator!= ( const base_type & lhs,
const T & rhs )
nodiscardnoexcept

checks if types are not equal

◆ operator!=() [3/7]

bool glslstruct::operator!= ( const mat_type & lhs,
const mat_type & rhs )
nodiscarddefaultnoexcept

checks if two mats types are not equal

◆ operator!=() [4/7]

bool glslstruct::operator!= ( const scalar_type & lhs,
const scalar_type & rhs )
nodiscarddefaultnoexcept

checks if two scalar types are not equal

◆ operator!=() [5/7]

bool glslstruct::operator!= ( const struct_type & lhs,
const struct_type & rhs )
nodiscarddefaultnoexcept

checks if two struct types are not equal

◆ operator!=() [6/7]

template<class DerivedA, class DerivedB>
_GLSL_STRUCT_CONSTEXPR17 bool glslstruct::operator!= ( const type< DerivedA > & lhs,
const type< DerivedB > & rhs )
nodiscardnoexcept

not equal operator for two intermediate types

◆ operator!=() [7/7]

bool glslstruct::operator!= ( const vec_type & lhs,
const vec_type & rhs )
nodiscarddefaultnoexcept

checks if two vec types are not equal

◆ operator==() [1/7]

bool glslstruct::operator== ( const array_type & lhs,
const array_type & rhs )
nodiscardnoexcept

checks if two array types are equal

◆ operator==() [2/7]

template<utils::glsl_type T>
_GLSL_STRUCT_CONSTEXPR20 bool glslstruct::operator== ( const base_type & lhs,
const T & rhs )
nodiscardnoexcept

checks if types are equal

◆ operator==() [3/7]

bool glslstruct::operator== ( const mat_type & lhs,
const mat_type & rhs )
nodiscardnoexcept

checks if two mats types are equal

◆ operator==() [4/7]

bool glslstruct::operator== ( const scalar_type & lhs,
const scalar_type & rhs )
nodiscardnoexcept

checks if two scalar types are equal

◆ operator==() [5/7]

bool glslstruct::operator== ( const struct_type & lhs,
const struct_type & rhs )
nodiscardnoexcept

checks if two struct types are equal

◆ operator==() [6/7]

template<class DerivedA, class DerivedB>
_GLSL_STRUCT_CONSTEXPR17 bool glslstruct::operator== ( const type< DerivedA > & lhs,
const type< DerivedB > & rhs )
nodiscardnoexcept

equal operator for two intermediate types

◆ operator==() [7/7]

bool glslstruct::operator== ( const vec_type & lhs,
const vec_type & rhs )
nodiscardnoexcept

checks if two vec types are equal

◆ sizeof_type() [1/2]

size_t glslstruct::sizeof_type ( const base_type_handle & type)
nodiscardnoexcept

returns size of given type

◆ sizeof_type() [2/2]

template<utils::glsl_type T>
size_t glslstruct::sizeof_type ( const std::shared_ptr< T > & type)
nodiscardnoexcept

returns size of given type

◆ to_string() [1/2]

std::string glslstruct::to_string ( const base_type_handle & type)
nodiscardnoexcept

converts type to string

◆ to_string() [2/2]

template<utils::glsl_type T>
std::string glslstruct::to_string ( const std::shared_ptr< T > & type)
nodiscardnoexcept

converts type to string