C# Class CSharpGL.Texture

Texture.
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Protected Properties

Property Type Description
id uint[]

Public Methods

Method Description
Bind ( ) : void

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Initialize ( ) : void

resources(bitmap etc.) can be disposed after this initialization.

Texture ( TextureTarget target, Bitmap bitmap, SamplerBase samplerBuilder, int maxLevel, int border ) : System

Texture.

Texture ( TextureTarget target, Bitmap bitmap, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear, int maxLevel, int border ) : System

Texture.

Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerBase samplerBuilder ) : System

Texture.

Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear ) : System

Texture.

ToString ( ) : string

Unbind ( ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

Method Details

Bind() public method

public Bind ( ) : void
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Initialize() public method

resources(bitmap etc.) can be disposed after this initialization.
public Initialize ( ) : void
return void

Texture() public method

Texture.
public Texture ( TextureTarget target, Bitmap bitmap, SamplerBase samplerBuilder, int maxLevel, int border ) : System
target TextureTarget
bitmap System.Drawing.Bitmap
samplerBuilder SamplerBase
maxLevel int
border int
return System

Texture() public method

Texture.
public Texture ( TextureTarget target, Bitmap bitmap, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear, int maxLevel, int border ) : System
target TextureTarget
bitmap System.Drawing.Bitmap
parameters SamplerParameters
mipmapFiltering MipmapFilter
maxLevel int
border int
return System

Texture() public method

Texture.
public Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerBase samplerBuilder ) : System
target TextureTarget
imageBuilder ImageFiller
samplerBuilder SamplerBase
return System

Texture() public method

Texture.
public Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerParameters parameters, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear ) : System
target TextureTarget
imageBuilder ImageFiller
parameters SamplerParameters
mipmapFiltering MipmapFilter
return System

ToString() public method

public ToString ( ) : string
return string

Unbind() public method

public Unbind ( ) : void
return void

Property Details

id protected property

texture's id/name.
protected uint[] id
return uint[]