C# Class CSharpGL.TextureHelper

update texture's content.
Mostrar archivo Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
ToSamplerValue ( this texture ) : samplerValue

get samplerValue from this texture.

UpdateContent ( this texture, Bitmap bitmap ) : void

upadte texture's content.

Method Details

ToSamplerValue() public static method

get samplerValue from this texture.
public static ToSamplerValue ( this texture ) : samplerValue
texture this
return samplerValue

UpdateContent() public static method

upadte texture's content.
public static UpdateContent ( this texture, Bitmap bitmap ) : void
texture this
bitmap System.Drawing.Bitmap
return void