> ## Name

> Texture2D - 3D API texture2D

> ## Usage

> Texture2D[i] = sampler2D(samp)

> ## Valid Enumerants

> samp: sampler

> ## Description

> Specify the 2D texture to be used. See the GL_TEXTURE_2D description on the OpenGL glBindTexture manual page for details. See the IDirect3DDevice9::SetTexture method for details.

> The standard reset callback sets the Texture2D[i] state to sampler2D(0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> Texture1DEnable, Texture2DEnable, Texture3DEnable, TextureCubeMapEnable, TextureRectangleEnable, Texture1D, Texture3D, TextureCubeMap, TextureRectangle, TextureEnvColor, TextureEnvMode, TextureFactor, TextureMatrix, TextureTransform, TextureTransformFlags, Texture, MagFilter, MaxMipLevel, MinFilter, MipFilter, MipMapLodBias