C# Class Sharpex2D.Rendering.OpenGL.OpenGLTexture

Inheritance: ITexture
Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Private Properties

Свойство Type Description
Bind void
OpenGLTexture System.Collections.Generic
Unbind void

Méthodes publiques

Méthode Description
Lock ( ) : void

Locks the texture.

Unlock ( ) : void

Unlocks the data.

this ( int x, int y ) : Color

Gets or sets the color of the specified texel.

Private Methods

Méthode Description
Bind ( ) : void

Binds the current texture.

OpenGLTexture ( Bitmap bitmap ) : System.Collections.Generic

Initializes a new OpenGLTexture class.

Unbind ( ) : void

Unbinds the texture.

Method Details

Lock() public méthode

Locks the texture.
public Lock ( ) : void
Résultat void

Unlock() public méthode

Unlocks the data.
public Unlock ( ) : void
Résultat void

this() public méthode

Gets or sets the color of the specified texel.
public this ( int x, int y ) : Color
x int The x offset.
y int The y offset.
Résultat System.Drawing.Color