Contents

unbindTextureRepresentation(fromCGLContext:textureUnit:)

Unbinds the texture from a texture unit.

Declaration

func unbindTextureRepresentation(fromCGLContext cgl_ctx: CGLContextObj!, textureUnit unit: GLenum)

Parameters

  • cgl_ctx:

    A CGL context.)

  • unit:

    The texture unit to unbind from (such as, GL_TEXTURE0)

See Also

Converting an Image to a Representation