Shift
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Pages
Shift.Graphics.Texture Class Reference
Inheritance diagram for Shift.Graphics.Texture:

Public Member Functions

 Texture (string Filename)
 Create a texture from the supplied filename. Any files that Bitmap.FromFile can open are supported. This method also supports dds textures (as long as the file extension is .dds). More...
 
void Dispose ()
 

Properties

string Filename [get, set]
 
Point Size [get, set]
 

Detailed Description

Definition at line 10 of file Texture.cs.

Constructor & Destructor Documentation

Shift.Graphics.Texture.Texture ( string  Filename)
inline

Create a texture from the supplied filename. Any files that Bitmap.FromFile can open are supported. This method also supports dds textures (as long as the file extension is .dds).

Parameters
FilenameThe path to the texture to load.

Definition at line 26 of file Texture.cs.

Member Function Documentation

void Shift.Graphics.Texture.Dispose ( )
inline

Definition at line 52 of file Texture.cs.

Property Documentation

string Shift.Graphics.Texture.Filename
getset

Definition at line 12 of file Texture.cs.

Point Shift.Graphics.Texture.Size
getset

Definition at line 16 of file Texture.cs.


The documentation for this class was generated from the following file: