C# Class Cubia.Texture

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

Public Methods

Method Description
Bind ( ) : void

Binds the texture for rendering.

Load ( string Name ) : Texture

Loads a texture by a name.

Texture ( Bitmap Source ) : System

Private Methods

Method Description
_Load ( ) : void

Loads the texture into GL.

Method Details

Bind() public method

Binds the texture for rendering.
public Bind ( ) : void
return void

Load() public static method

Loads a texture by a name.
public static Load ( string Name ) : Texture
Name string
return Texture

Texture() public method

public Texture ( Bitmap Source ) : System
Source System.Drawing.Bitmap
return System