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