C# Class KFreonLib.Textures.ME3SaltTexture2D

Inheritance: ITexture2D
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Свойство Type Description
Class String
UnpackNum int
exportOffset int
headerData byte[]
imageData byte[]
properties SaltPropertyReader.Property>.Dictionary

Private Properties

Свойство Type Description
ChooseNewCache void
MakeCache void
MoveCaches void

Méthodes publiques

Méthode Description
CopyImgList ( ITexture2D tex2D, IPCCObject PCC ) : void
CopyImgList ( ME3SaltTexture2D inTex, ME3PCCObject pcc ) : void
Dispose ( ) : void
DumpImg ( ImageSize imgSize, string archiveDir ) : byte[]

Gets the raw image data, mainly for use with AK's image displayer

DumpTexture ( string filename ) : void
GenerateImageInfo ( ) : IImageInfo
GetImage ( int size = -1 ) : System.Drawing.Bitmap
GetImageData ( int size = -1 ) : byte[]
GetTexArchive ( string dir ) : String
LowResFix ( ) : void
ME3SaltTexture2D ( ) : System
ME3SaltTexture2D ( ME3PCCObject pccObj, int texIdx, String pathBioGame, uint hash ) : System
ME3SaltTexture2D ( string name, List pccs, List ExpIDs, uint hash, string pathBIOGame, int GameVersion ) : System
OneImageToRuleThemAll ( ImageFile im, string archiveDir, byte imgData ) : void
ToArray ( uint pccExportDataOffset, IPCCObject pcc ) : byte[]
ToArray ( uint pccExportDataOffset, ME3PCCObject pcc ) : byte[]
addBiggerImage ( ImageFile im, string archiveDir ) : void
extractImage ( ImageInfo imgInfo, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
extractImage ( string strImgSize, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
extractMaxImage ( bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
getFileFormat ( ) : string
getPropertyList ( ) : List
removeImage ( ) : void
replaceImage ( string strImgSize, ImageFile im, string archiveDir ) : void
replaceImage2 ( string strImgSize, ImageFile im, string archiveDir ) : void
singleImageUpscale ( ImageFile im, string archiveDir ) : void
upscaleImage ( ME3SaltTexture2D inTex ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ChooseNewCache ( string bioPath, int buffLength ) : void
MakeCache ( String filename, String biopath ) : void
MoveCaches ( string cookedPath, string NewCache ) : void

Method Details

CopyImgList() public méthode

public CopyImgList ( ITexture2D tex2D, IPCCObject PCC ) : void
tex2D ITexture2D
PCC IPCCObject
Résultat void

CopyImgList() public méthode

public CopyImgList ( ME3SaltTexture2D inTex, ME3PCCObject pcc ) : void
inTex ME3SaltTexture2D
pcc KFreonLib.PCCObjects.ME3PCCObject
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DumpImg() public méthode

Gets the raw image data, mainly for use with AK's image displayer
public DumpImg ( ImageSize imgSize, string archiveDir ) : byte[]
imgSize AmaroK86.ImageFormat.ImageSize
archiveDir string
Résultat byte[]

DumpTexture() public méthode

public DumpTexture ( string filename ) : void
filename string
Résultat void

GenerateImageInfo() public méthode

public GenerateImageInfo ( ) : IImageInfo
Résultat IImageInfo

GetImage() public méthode

public GetImage ( int size = -1 ) : System.Drawing.Bitmap
size int
Résultat System.Drawing.Bitmap

GetImageData() public méthode

public GetImageData ( int size = -1 ) : byte[]
size int
Résultat byte[]

GetTexArchive() public méthode

public GetTexArchive ( string dir ) : String
dir string
Résultat String

LowResFix() public méthode

public LowResFix ( ) : void
Résultat void

ME3SaltTexture2D() public méthode

public ME3SaltTexture2D ( ) : System
Résultat System

ME3SaltTexture2D() public méthode

public ME3SaltTexture2D ( ME3PCCObject pccObj, int texIdx, String pathBioGame, uint hash ) : System
pccObj KFreonLib.PCCObjects.ME3PCCObject
texIdx int
pathBioGame String
hash uint
Résultat System

ME3SaltTexture2D() public méthode

public ME3SaltTexture2D ( string name, List pccs, List ExpIDs, uint hash, string pathBIOGame, int GameVersion ) : System
name string
pccs List
ExpIDs List
hash uint
pathBIOGame string
GameVersion int
Résultat System

OneImageToRuleThemAll() public méthode

public OneImageToRuleThemAll ( ImageFile im, string archiveDir, byte imgData ) : void
im AmaroK86.ImageFormat.ImageFile
archiveDir string
imgData byte
Résultat void

ToArray() public méthode

public ToArray ( uint pccExportDataOffset, IPCCObject pcc ) : byte[]
pccExportDataOffset uint
pcc IPCCObject
Résultat byte[]

ToArray() public méthode

public ToArray ( uint pccExportDataOffset, ME3PCCObject pcc ) : byte[]
pccExportDataOffset uint
pcc KFreonLib.PCCObjects.ME3PCCObject
Résultat byte[]

addBiggerImage() public méthode

public addBiggerImage ( ImageFile im, string archiveDir ) : void
im AmaroK86.ImageFormat.ImageFile
archiveDir string
Résultat void

extractImage() public méthode

public extractImage ( ImageInfo imgInfo, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
imgInfo ImageInfo
NoOutput bool
archiveDir string
fileName string
Résultat byte[]

extractImage() public méthode

public extractImage ( string strImgSize, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
strImgSize string
NoOutput bool
archiveDir string
fileName string
Résultat byte[]

extractMaxImage() public méthode

public extractMaxImage ( bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
NoOutput bool
archiveDir string
fileName string
Résultat byte[]

getFileFormat() public méthode

public getFileFormat ( ) : string
Résultat string

getPropertyList() public méthode

public getPropertyList ( ) : List
Résultat List

removeImage() public méthode

public removeImage ( ) : void
Résultat void

replaceImage() public méthode

public replaceImage ( string strImgSize, ImageFile im, string archiveDir ) : void
strImgSize string
im AmaroK86.ImageFormat.ImageFile
archiveDir string
Résultat void

replaceImage2() public méthode

public replaceImage2 ( string strImgSize, ImageFile im, string archiveDir ) : void
strImgSize string
im AmaroK86.ImageFormat.ImageFile
archiveDir string
Résultat void

singleImageUpscale() public méthode

public singleImageUpscale ( ImageFile im, string archiveDir ) : void
im AmaroK86.ImageFormat.ImageFile
archiveDir string
Résultat void

upscaleImage() public méthode

public upscaleImage ( ME3SaltTexture2D inTex ) : void
inTex ME3SaltTexture2D
Résultat void

Property Details

Class public_oe property

public String Class
Résultat String

UnpackNum public_oe property

public int UnpackNum
Résultat int

exportOffset public_oe property

public int exportOffset
Résultat int

headerData public_oe property

public byte[] headerData
Résultat byte[]

imageData public_oe property

public byte[] imageData
Résultat byte[]

properties public_oe property

public Dictionary properties
Résultat SaltPropertyReader.Property>.Dictionary