Next | Prev | Up | Top | Contents | Index
Using the Texture Clamp Extensions
To specify texture clamping, call glTexParameteri():
- Set target to GL_TEXTURE_1D, GL_TEXTURE_2D, or GL_TEXTURE_3D_EXT.
- Set pname to GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R_EXT.
- Set param to
- GL_CLAMP_TO_EDGE_SGIS for edge clamping
- GL_CLAMP_TO_BORDER_SGIS for border clamping
Next | Prev | Up | Top | Contents | Index