C# Class RekdEngine.Content.Texture2D

Inheritance: NonManagedRessource
显示文件 Open project: Naronco/Rekd-Sharp Class Usage Examples

Public Properties

Property Type Description
Width int

Public Methods

Method Description
Bind ( int slot ) : void
Dispose ( ) : void
GetSurfaceLevel ( int level ) : SharpDX.Direct3D9.Surface
Lost ( ) : void
Reset ( ) : void
SetColors ( Color c ) : void
Texture2D ( ) : System
Texture2D ( SharpDX.Direct3D9.Device d, int width, int height ) : System
Texture2D ( SharpDX.Direct3D9.Device d, int width, int height, Usage u ) : System
Texture2D ( SharpDX.Direct3D9.Device d, string file ) : System
Texture2D ( SharpDX.Direct3D9.Texture t ) : System

Method Details

Bind() public method

public Bind ( int slot ) : void
slot int
return void

Dispose() public method

public Dispose ( ) : void
return void

GetSurfaceLevel() public method

public GetSurfaceLevel ( int level ) : SharpDX.Direct3D9.Surface
level int
return SharpDX.Direct3D9.Surface

Lost() public method

public Lost ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

SetColors() public method

public SetColors ( Color c ) : void
c Color
return void

Texture2D() public method

public Texture2D ( ) : System
return System

Texture2D() public method

public Texture2D ( SharpDX.Direct3D9.Device d, int width, int height ) : System
d SharpDX.Direct3D9.Device
width int
height int
return System

Texture2D() public method

public Texture2D ( SharpDX.Direct3D9.Device d, int width, int height, Usage u ) : System
d SharpDX.Direct3D9.Device
width int
height int
u Usage
return System

Texture2D() public method

public Texture2D ( SharpDX.Direct3D9.Device d, string file ) : System
d SharpDX.Direct3D9.Device
file string
return System

Texture2D() public method

public Texture2D ( SharpDX.Direct3D9.Texture t ) : System
t SharpDX.Direct3D9.Texture
return System

Property Details

Width public_oe property

public int Width
return int