Click or drag to resize

Texture Methods

The Texture type exposes the following members.

Methods
  NameDescription
Public methodBind
Binds the texture.
Public methodBindToTextureUnit
Actives a texture unit and binds this texture to that unit.
Public methodCopy
Copies pixels from the current framebuffer into the texture.
Public methodDispose
Disposes of the OpenGL object
(Inherited from GLObject.)
Public methodEquals
Checks if this object matches another object.
(Inherited from GLObject.)
Public methodGenerateMipmap
Generate a complete set of mipmaps for this texture object.
Public methodGetHashCode
Returns a hash code for this object
(Inherited from GLObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReserve
Reserve memory for a texture of given dimensions.
Public methodSubCopy
Copies pixels from a part of the current framebuffer into the texture.
Public methodSubUploadT(glPixelFormat, Int32, Int32, Int32, Int32, T, Int32, glPixelDataType, Int32)
Uploads a part of an image to the texture.
Public methodSubUploadT(glPixelFormat, Int32, Int32, Int32, Int32, T, Int32, glPixelDataType, Int32)
Uploads a part of an image to the texture.
Public methodSubUploadCompressedT
Uploads a part of a compressed image to the texture.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbind
Unbinds the texture.
Public methodUnbindFromTextureUnit
Actives a texture unit and unbinds this texture from that unit.
Public methodUploadT(glPixelFormat, Int32, Int32, T, Int32, glPixelDataType, Int32)
Uploads an image to the texture.
Public methodUploadT(glPixelFormat, Int32, Int32, T, Int32, glPixelDataType, Int32)
Uploads an image to the texture.
Public methodUploadCompressedT
Uploads a compressed image to the texture.
Top
See Also