|
| template<class T > |
| Vector2< T > | Diligent::operator* (T s, const Vector2< T > &a) |
| |
| template<class T > |
| Vector3< T > | Diligent::operator* (T s, const Vector3< T > &a) |
| |
| template<class T > |
| Vector4< T > | Diligent::operator* (T s, const Vector4< T > &a) |
| |
| template<class T > |
| T | Diligent::dot (const Vector2< T > &a, const Vector2< T > &b) |
| |
| template<class T > |
| T | Diligent::dot (const Vector3< T > &a, const Vector3< T > &b) |
| |
| template<class T > |
| T | Diligent::dot (const Vector4< T > &a, const Vector4< T > &b) |
| |
| template<class VectorType > |
| auto | Diligent::length (const VectorType &a) -> decltype(dot(a, a)) |
| |
| template<class T > |
| Vector3< T > | Diligent::min (const Vector3< T > &a, const Vector3< T > &b) |
| |
| template<class T > |
| Vector4< T > | Diligent::min (const Vector4< T > &a, const Vector4< T > &b) |
| |
| template<class T > |
| Vector3< T > | Diligent::max (const Vector3< T > &a, const Vector3< T > &b) |
| |
| template<class T > |
| Vector4< T > | Diligent::max (const Vector4< T > &a, const Vector4< T > &b) |
| |
| template<class T > |
| Vector2< T > | Diligent::abs (const Vector2< T > &a) |
| |
| template<class T > |
| Vector3< T > | Diligent::abs (const Vector3< T > &a) |
| |
| template<class T > |
| Vector4< T > | Diligent::abs (const Vector4< T > &a) |
| |
| template<typename T > |
| T | Diligent::clamp (T val, T _min, T _max) |
| |
| template<class T > |
| Vector2< T > | Diligent::clamp (const Vector2< T > &a, const Vector2< T > &_min, const Vector2< T > &_max) |
| |
| template<class T > |
| Vector3< T > | Diligent::clamp (const Vector3< T > &a, const Vector3< T > &_min, const Vector3< T > &_max) |
| |
| template<class T > |
| Vector4< T > | Diligent::clamp (const Vector4< T > &a, const Vector4< T > &_min, const Vector4< T > &_max) |
| |
| template<class T > |
| Vector3< T > | Diligent::cross (const Vector3< T > &a, const Vector3< T > &b) |
| |
| template<class T , class Y > |
| Vector3< T > | Diligent::cross (const Vector3< T > &a, const Vector3< T > &b) |
| |
| Vector3< float > | Diligent::high_precision_cross (const Vector3< float > &a, const Vector3< float > &b) |
| |
| Vector3< int32_t > | Diligent::high_precision_cross (const Vector3< int32_t > &a, const Vector3< int32_t > &b) |
| |
| template<class VectorType > |
| VectorType | Diligent::normalize (const VectorType &a) |
| |
| template<class T > |
| Matrix4x4< T > | Diligent::operator* (const Matrix4x4< T > &m1, const Matrix4x4< T > &m2) |
| |
| template<class T > |
| Matrix3x3< T > | Diligent::operator* (const Matrix3x3< T > &m1, const Matrix3x3< T > &m2) |
| |
| template<class T > |
| Matrix2x2< T > | Diligent::operator* (const Matrix2x2< T > &m1, const Matrix2x2< T > &m2) |
| |
| template<class T > |
| Vector4< T > | Diligent::operator* (const Matrix4x4< T > &m, const Vector4< T > &v) |
| |
| template<class T > |
| Vector3< T > | Diligent::operator* (const Matrix3x3< T > &m, Vector3< T > &v) |
| |
| template<class T > |
| Vector2< T > | Diligent::operator* (const Matrix2x2< T > &m, const Vector2< T > &v) |
| |
| Quaternion | Diligent::operator* (const Quaternion &q1, const Quaternion &q2) |
| |
| Quaternion | Diligent::normalize (const Quaternion &q) |
| |
| Quaternion | Diligent::slerp (Quaternion v0, Quaternion v1, float t, bool DoNotNormalize=false) |
| |
| template<typename T > |
| T | Diligent::lerp (const T &Left, const T &Right, float w) |
| |
| template<typename T > |
| T | Diligent::SmoothStep (T Left, T Right, T w) |
| |
| template<typename T > |
| T | Diligent::max3 (const T &x, const T &y, const T &z) |
| |
| template<typename T > |
| T | Diligent::min3 (const T &x, const T &y, const T &z) |
| |
| float4 | Diligent::RGBA8Unorm_To_F4Color (Uint32 RGBA8) |
| |
| Uint32 | Diligent::F4Color_To_RGBA8Unorm (const float4 &f4Color) |
| |
| template<typename T > |
| T | Diligent::FastFloor (T x) |
| |
| template<typename T > |
| T | Diligent::FastCeil (T x) |
| |
| template<typename T > |
| Diligent::Vector2< T > | Diligent::FastFloor (const Diligent::Vector2< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector3< T > | Diligent::FastFloor (const Diligent::Vector3< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector4< T > | Diligent::FastFloor (const Diligent::Vector4< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector2< T > | Diligent::FastCeil (const Diligent::Vector2< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector3< T > | Diligent::FastCeil (const Diligent::Vector3< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector4< T > | Diligent::FastCeil (const Diligent::Vector4< T > &vec) |
| |
| Uint32 | Diligent::BitInterleave16 (Uint16 _x, Uint16 _y) |
| |
| template<typename T > |
| std::enable_if< std::is_integral< T >::value, T >::type | Diligent::ExtractLSB (T &bits) |
| | Returns the least-signficant bit and clears it in the input argument. More...
|
| |
| template<typename T > |
| std::enable_if< std::is_enum< T >::value, T >::type | Diligent::ExtractLSB (T &bits) |
| | Returns the enum value representing the least-signficant bit and clears it in the input argument. More...
|
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const float4 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const float3 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const float2 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const int4 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const int3 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const int2 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const uint4 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const uint3 &vec) |
| |
| std::ostream & | Diligent::operator<< (std::ostream &os, const uint2 &vec) |
| |
| template<typename T > |
| Diligent::Vector2< T > | std::max (const Diligent::Vector2< T > &Left, const Diligent::Vector2< T > &Right) |
| |
| template<typename T > |
| Diligent::Vector3< T > | std::max (const Diligent::Vector3< T > &Left, const Diligent::Vector3< T > &Right) |
| |
| template<typename T > |
| Diligent::Vector4< T > | std::max (const Diligent::Vector4< T > &Left, const Diligent::Vector4< T > &Right) |
| |
| template<typename T > |
| Diligent::Vector2< T > | std::min (const Diligent::Vector2< T > &Left, const Diligent::Vector2< T > &Right) |
| |
| template<typename T > |
| Diligent::Vector3< T > | std::min (const Diligent::Vector3< T > &Left, const Diligent::Vector3< T > &Right) |
| |
| template<typename T > |
| Diligent::Vector4< T > | std::min (const Diligent::Vector4< T > &Left, const Diligent::Vector4< T > &Right) |
| |
| template<typename T > |
| Diligent::Vector2< T > | std::floor (const Diligent::Vector2< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector3< T > | std::floor (const Diligent::Vector3< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector4< T > | std::floor (const Diligent::Vector4< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector2< T > | std::ceil (const Diligent::Vector2< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector3< T > | std::ceil (const Diligent::Vector3< T > &vec) |
| |
| template<typename T > |
| Diligent::Vector4< T > | std::ceil (const Diligent::Vector4< T > &vec) |
| |