Searched refs:clamp01 (Results 1 – 3 of 3) sorted by relevance
41 inline float clamp01(float x) in clamp01() function
281 …context->setBlendColor(gl::clamp01(red), gl::clamp01(green), gl::clamp01(blue), gl::clamp01(alpha)… in glBlendColor()4117 context->setSampleCoverageParams(gl::clamp01(value), invert == GL_TRUE); in glSampleCoverage()
1636 float zNear = clamp01(mState.zNear); in applyRenderTarget()1637 float zFar = clamp01(mState.zFar); in applyRenderTarget()2402 float depth = clamp01(mState.depthClearValue); in clear()