SlopScaleDepthBias
Keywords: SlopScaleDepthBias, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> SlopScaleDepthBias - 3D API slop scale depth bias

> ## Usage

> SlopScaleDepthBias = float(factor)

> ## Valid Enumerants

> factor: floating point value

> ## Description

> Specify the scale factor used to compute a depth offset for polygons. See the factor parameter description on the OpenGL glPolygonOffset manual page for details. See the D3DRS_SLOPESCALEDEPTHBIAS render state description for DirectX 9.

> The standard reset callback sets the SlopScaleDepthBias state to float(0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> PolygonOffset