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

> ## Name

> BorderColor - 3D API texture border color

> ## Usage

> BorderColor = float4(r, g, b, a)

> ## Valid Enumerants

> r, g, b, a: floating point values

> ## Description

> Set the Direct3D sampler border color. See the GL_TEXTURE_BORDER_COLOR description on the OpenGL glTexParameter manual page for details. See the D3DSAMP_BORDERCOLOR sampler state description for DirectX 9.

> The standard reset callback sets the BorderColor state to float4(0, 0, 0, 0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> BorderColori