C# Class CSharpGL.Texture

Texture.
Afficher le fichier Open project: bitzhuwei/CSharpGL Class Usage Examples

Protected Properties

Свойство Type Description
id uint[]

Méthodes publiques

Méthode 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

Méthode Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

Method Details

Bind() public méthode

public Bind ( ) : void
Résultat void

Dispose() public méthode

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

Initialize() public méthode

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

Texture() public méthode

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
Résultat System

Texture() public méthode

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
Résultat System

Texture() public méthode

Texture.
public Texture ( TextureTarget target, ImageFiller imageBuilder, SamplerBase samplerBuilder ) : System
target TextureTarget
imageBuilder ImageFiller
samplerBuilder SamplerBase
Résultat System

Texture() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string

Unbind() public méthode

public Unbind ( ) : void
Résultat void

Property Details

id protected_oe property

texture's id/name.
protected uint[] id
Résultat uint[]