C# 클래스 VrSharp.PvrTexture.PvrTexture

상속: VrTexture
파일 보기 프로젝트 열기: nickworonekin/puyotools 1 사용 예제들

공개 메소드들

메소드 설명
Is ( Stream source ) : bool

Determines if this is a PVR texture.

Is ( Stream source, int length ) : bool

Determines if this is a PVR texture.

Is ( byte source ) : bool

Determines if this is a PVR texture.

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

Determines if this is a PVR texture.

Is ( string file ) : bool

Determines if this is a PVR texture.

PvrTexture ( Stream source ) : System

Open a PVR texture from a stream.

PvrTexture ( Stream source, int length ) : System

Open a PVR texture from a stream.

PvrTexture ( byte source ) : System

Open a PVR texture from a byte array.

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

Open a PVR texture from a byte array.

PvrTexture ( string file ) : System

Open a PVR texture from a file.

SetPalette ( VrSharp.PvrTexture.PvpPalette clut ) : void

Set the palette data from an external palette file.

보호된 메소드들

메소드 설명
Initalize ( ) : void

비공개 메소드들

메소드 설명
GetCompressionFormat ( byte data, int pvrtOffset, int dataOffset ) : PvrCompressionFormat
IsValidGbix ( byte source, int offset, int length ) : bool

Checks for and validates GBIX headers as well as PVRT.

See also: IsValidPvrt

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

Checks for the PVRT header and validates it.

See also: IsValidGbix

메소드 상세

Initalize() 보호된 메소드

protected Initalize ( ) : void
리턴 void

Is() 공개 정적인 메소드

Determines if this is a PVR texture.
public static Is ( Stream source ) : bool
source Stream The stream to read from. The stream position is not changed.
리턴 bool

Is() 공개 정적인 메소드

Determines if this is a PVR 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.
리턴 bool

Is() 공개 정적인 메소드

Determines if this is a PVR texture.
public static Is ( byte source ) : bool
source byte Byte array containing the data.
리턴 bool

Is() 공개 정적인 메소드

Determines if this is a PVR 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).
리턴 bool

Is() 공개 정적인 메소드

Determines if this is a PVR texture.
public static Is ( string file ) : bool
file string Filename of the file that contains the data.
리턴 bool

PvrTexture() 공개 메소드

Open a PVR texture from a stream.
public PvrTexture ( Stream source ) : System
source Stream Stream that contains the texture data.
리턴 System

PvrTexture() 공개 메소드

Open a PVR texture from a stream.
public PvrTexture ( Stream source, int length ) : System
source Stream Stream that contains the texture data.
length int Number of bytes to read.
리턴 System

PvrTexture() 공개 메소드

Open a PVR texture from a byte array.
public PvrTexture ( byte source ) : System
source byte Byte array that contains the texture data.
리턴 System

PvrTexture() 공개 메소드

Open a PVR texture from a byte array.
public PvrTexture ( 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.
리턴 System

PvrTexture() 공개 메소드

Open a PVR texture from a file.
public PvrTexture ( string file ) : System
file string Filename of the file that contains the texture data.
리턴 System

SetPalette() 공개 메소드

Set the palette data from an external palette file.
public SetPalette ( VrSharp.PvrTexture.PvpPalette clut ) : void
clut VrSharp.PvrTexture.PvpPalette A PvpPalette object
리턴 void