TextureRectangle
Keywords: TextureRectangle, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> TextureRectangle - 3D API texture rectangle

> ## Usage

> TextureRectangle[i] = samplerRECT(samp)

> ## Valid Enumerants

> samp: sampler

> ## Description

> Specify the rectangle texture to be used. See the GL_TEXTURE_RECTANGLE_NV description in the OpenGL NV_texture_rectangle specification for details. See the IDirect3DDevice9::SetTexture method for details.

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

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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