Contents

textureTarget()

Returns the texture target.

Declaration

func textureTarget() -> GLenum

Return Value

The texture target, either GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_EXT.

See Also

Getting Texture Information