Searched refs:Clamp (Results 1 – 4 of 4) sorted by relevance
| /CTR-SDK-4.2.5/include/nn/util/ |
| D | util_Color.h | 684 return Color8( static_cast<u8>( 0.5f + nn::math::Clamp(r, 0.0f, 1.0f) * 255.f ), in Color8() 685 static_cast<u8>( 0.5f + nn::math::Clamp(g, 0.0f, 1.0f) * 255.f ), in Color8() 686 static_cast<u8>( 0.5f + nn::math::Clamp(b, 0.0f, 1.0f) * 255.f ), in Color8() 687 static_cast<u8>( 0.5f + nn::math::Clamp(a, 0.0f, 1.0f) * 255.f )); in Color8() 988 void Clamp() { this->Clamp( 0.0f, 1.0f ); } in Clamp() function 995 void Clamp( f32 low, f32 high ) in Clamp() function 997 r = nn::math::Clamp( r, low, high ); in Clamp() 998 g = nn::math::Clamp( g, low, high ); in Clamp() 999 b = nn::math::Clamp( b, low, high ); in Clamp() 1000 a = nn::math::Clamp( a, low, high ); in Clamp() [all …]
|
| /CTR-SDK-4.2.5/include/nn/gd/CTR/ |
| D | gd_Texture.h | 847 enum Clamp enum 966 static void SetClampUV(Clamp u, Clamp v); 2051 NN_FORCE_INLINE void ProceduralTextureStage::SetClampUV(Clamp u, Clamp v) in SetClampUV()
|
| /CTR-SDK-4.2.5/include/nn/math/ |
| D | math_Utility.h | 187 inline T Clamp(T x, T low, T high) in Clamp() function
|
| /CTR-SDK-4.2.5/tools/CommandLineTools/ctr_GxCommandAnalyzer/ |
| D | detail.csv | 2652 Clamp the set value for the red argument between 0 and 1 and sets an integer that is mapped between… 2655 Clamp the set value for the green argument between 0 and 1 and sets an integer that is mapped betwe…
|