Cg Toolkit Cg 3.1 Toolkit Documentation
Cg / Sampler States / AddressV

Name

AddressV - 3D API V texture addressing mode

Usage

AddressV = int(mode)

WrapT = int(mode)

Valid Enumerants

mode: Repeat, Wrap, Clamp, ClampToEdge, ClampToBorder, Border, MirroredRepeat, Mirror, MirrorClamp, MirrorClampToEdge, MirrorClampToBorder, MirrorOnce

Description

Set the Direct3D v-direction texture wrapping mode. See the D3DSAMP_ADDRESSV sampler state description for DirectX 9.

Set the wrap parameter for texture coordinate T. See the GL_TEXTURE_WRAP_T description on the OpenGL glTexParameter manual page for details.

The standard reset callback sets the AddressV or WrapT state to int(Wrap).

Opengl Functionality Requirements

Clamp, Repeat, Wrap: OpenGL 1.0

ClampToEdge: OpenGL 1.2

Border, ClampToBorder: OpenGL 1.3

Mirror, MirroredRepeat: OpenGL 1.4

MirrorClamp, MirrorClampToEdge, MirrorClampToBorder, MirrorOnce: support for extension EXT_mirror_clamp.

Direct3D Functionality Requirements

DirectX 9

See Also

AddressVi, AddressU, AddressW, WrapS, WrapT, WrapR


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