Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRealMJP/DeferredTexturing
/ Saturate
Function
Saturate
SampleFramework12/v1.00/SF12_Math.h:558–561 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
556
557
// Clamps a value to [0, 1]
558
template<typename T> T Saturate(T val)
559
{
560
return Clamp<T>(val, T(0.0f), T(1.0f));
561
}
562
563
inline Float3 Saturate(Float3 val)
564
{
Callers
10
UpdateDecals
Method · 0.85
UpdateLights
Method · 0.85
Smoothstep
Function · 0.85
FilterTriangle1D
Function · 0.85
FilterBlackmanHarris1D
Function · 0.85
SampleDirectionGGX_PDF
Function · 0.85
Fresnel
Function · 0.85
GGX_Specular
Function · 0.85
CalcLighting
Function · 0.85
Init
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected