C# Class VrSharp.GvrTexture.GvrTexture

Inheritance: VrTexture
Afficher le fichier Open project: nickworonekin/puyotools Class Usage Examples

Méthodes publiques

Méthode Description
GvrTexture ( Stream source ) : System

Open a GVR texture from a stream.

GvrTexture ( Stream source, int length ) : System

Open a GVR texture from a stream.

GvrTexture ( byte source ) : System

Open a GVR texture from a byte array.

GvrTexture ( byte source, int offset, int length ) : System

Open a GVR texture from a byte array.

GvrTexture ( string file ) : System

Open a GVR texture from a file.

Is ( Stream source ) : bool

Determines if this is a GVR texture.

Is ( Stream source, int length ) : bool

Determines if this is a GVR texture.

Is ( byte source ) : bool

Determines if this is a GVR texture.

Is ( byte source, int offset, int length ) : bool

Determines if this is a GVR texture.

Is ( string file ) : bool

Determines if this is a GVR texture.

SetPalette ( VrSharp.GvrTexture.GvpPalette palette ) : void

Set the palette data from an external palette file.

Méthodes protégées

Méthode Description
Initalize ( ) : void

Method Details

GvrTexture() public méthode

Open a GVR texture from a stream.
public GvrTexture ( Stream source ) : System
source Stream Stream that contains the texture data.
Résultat System

GvrTexture() public méthode

Open a GVR texture from a stream.
public GvrTexture ( Stream source, int length ) : System
source Stream Stream that contains the texture data.
length int Number of bytes to read.
Résultat System

GvrTexture() public méthode

Open a GVR texture from a byte array.
public GvrTexture ( byte source ) : System
source byte Byte array that contains the texture data.
Résultat System

GvrTexture() public méthode

Open a GVR texture from a byte array.
public GvrTexture ( byte source, int offset, int length ) : System
source byte Byte array that contains the texture data.
offset int Offset of the texture in the array.
length int Number of bytes to read.
Résultat System

GvrTexture() public méthode

Open a GVR texture from a file.
public GvrTexture ( string file ) : System
file string Filename of the file that contains the texture data.
Résultat System

Initalize() protected méthode

protected Initalize ( ) : void
Résultat void

Is() public static méthode

Determines if this is a GVR texture.
public static Is ( Stream source ) : bool
source Stream The stream to read from. The stream position is not changed.
Résultat bool

Is() public static méthode

Determines if this is a GVR texture.
public static Is ( Stream source, int length ) : bool
source Stream The stream to read from. The stream position is not changed.
length int Number of bytes to read.
Résultat bool

Is() public static méthode

Determines if this is a GVR texture.
public static Is ( byte source ) : bool
source byte Byte array containing the data.
Résultat bool

Is() public static méthode

Determines if this is a GVR texture.
public static Is ( byte source, int offset, int length ) : bool
source byte Byte array containing the data.
offset int The offset in the byte array to start at.
length int Length of the data (in bytes).
Résultat bool

Is() public static méthode

Determines if this is a GVR texture.
public static Is ( string file ) : bool
file string Filename of the file that contains the data.
Résultat bool

SetPalette() public méthode

Set the palette data from an external palette file.
public SetPalette ( VrSharp.GvrTexture.GvpPalette palette ) : void
palette VrSharp.GvrTexture.GvpPalette
Résultat void