C# Class Cubia.Texture

Represents a two-dimensional image loaded into the graphics device.
Afficher le fichier Open project: dzamkov/MineViewer Class Usage Examples

Méthodes publiques

Méthode Description
Bind ( ) : void

Binds the texture for rendering.

Load ( string Name ) : Texture

Loads a texture by a name.

Texture ( Bitmap Source ) : System

Private Methods

Méthode Description
_Load ( ) : void

Loads the texture into GL.

Method Details

Bind() public méthode

Binds the texture for rendering.
public Bind ( ) : void
Résultat void

Load() public static méthode

Loads a texture by a name.
public static Load ( string Name ) : Texture
Name string
Résultat Texture

Texture() public méthode

public Texture ( Bitmap Source ) : System
Source System.Drawing.Bitmap
Résultat System