C# Class Fusion.Engine.Graphics.UserTexture

Creates texture from file on disk or in memory.
Inheritance: Texture
Mostra file Open project: demiurghg/FusionEngine Class Usage Examples

Public Methods

Method Description
UserTexture ( RenderSystem rs, Stream stream, bool forceSRgb ) : System

Creates texture from stream.

UserTexture ( RenderSystem rs, byte data, bool forceSRgb ) : System

Creates texture from file in memory

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes DiscTexture

Method Details

Dispose() protected method

Disposes DiscTexture
protected Dispose ( bool disposing ) : void
disposing bool
return void

UserTexture() public method

Creates texture from stream.
public UserTexture ( RenderSystem rs, Stream stream, bool forceSRgb ) : System
rs RenderSystem
stream Stream
forceSRgb bool
return System

UserTexture() public method

Creates texture from file in memory
public UserTexture ( RenderSystem rs, byte data, bool forceSRgb ) : System
rs RenderSystem
data byte
forceSRgb bool
return System