ADDRESSW(3CgFX)

NAME
AddressW - 3D API W texture addressing mode

USAGE
AddressW = int(mode)

WrapR = int(mode)

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

DESCRIPTION
Set the Direct3D w-direction texture wrapping mode. See the D3DSAMP_ADDRESSW sampler state description for DirectX 9.

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

The standard reset callback sets the AddressW or WrapR 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
AddressWi, AddressU, AddressV, WrapS, WrapT, WrapR