Name
AddressU - 3D API U texture addressing mode
Usage
AddressU = int(mode)
WrapS = int(mode)
Valid Enumerants
mode: Repeat, Wrap, Clamp, ClampToEdge, ClampToBorder, Border, MirroredRepeat, Mirror, MirrorClamp, MirrorClampToEdge, MirrorClampToBorder, MirrorOnce
Description
Set the Direct3D u-direction texture wrapping mode.
See the D3DSAMP_ADDRESSU sampler state description for DirectX 9.
Set the wrap parameter for texture coordinate S.
See the GL_TEXTURE_WRAP_S description on the OpenGL glTexParameter manual page for details.
The standard reset callback sets the AddressU or WrapS 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
AddressUi,
AddressV,
AddressW,
WrapS,
WrapT,
WrapR
|