C# Class CSharpGL.Sampler

texture's settings.
Inheritance: SamplerBase, IDisposable
Mostra file Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
Bind ( uint unit, TextureTarget target ) : void

texture's settings.

Dispose ( ) : void

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

Initialize ( uint unit, TextureTarget target ) : void

Sampler ( SamplerParameters parameters = null, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear ) : System

texture's settings.

Private Methods

Method Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

DoInitialize ( uint unit, TextureTarget target ) : void

Method Details

Bind() public method

texture's settings.
public Bind ( uint unit, TextureTarget target ) : void
unit uint OpenGL.GL_TEXTURE0 etc.
target TextureTarget
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

public Initialize ( uint unit, TextureTarget target ) : void
unit uint
target TextureTarget
return void

Sampler() public method

texture's settings.
public Sampler ( SamplerParameters parameters = null, MipmapFilter mipmapFiltering = MipmapFilter.LinearMipmapLinear ) : System
parameters SamplerParameters
mipmapFiltering MipmapFilter
return System