Cg Toolkit Cg 3.1 Toolkit Documentation
Cg / Sampler States / BorderColor

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


Cg Toolkit | Cg Toolkit | Download | Release Archive | Profiles | Reference | Books | Discussions |


Cg Sampler States

AddressU
AddressV
AddressW
BorderColor
CompareFunc
CompareMode
DepthMode
GenerateMipmap
LODBias
MagFilter
MaxAnisotropy
MaxMipLevel
MinFilter
MinMipLevel
MipFilter
MipMapLodBias
SRGBTexture
Texture
WrapR
WrapS
WrapT