C# 클래스 KFreonLib.Textures.Methods

Provides methods related to textures.
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer

공개 메소드들

메소드 설명
FindHashByName ( string name, List Files, List IDs, List TreeTexes ) : uint

Finds hash from texture name given list of PCC's and ExpID's.

FormatTexmodHashAsString ( uint hash ) : string

Returns hash as a string in the 0xhash format.

FormatTexmodHashAsUint ( string line ) : uint

Returns a uint of a hash in string format.

GetExternalData ( string file ) : byte[]

Gets external image data as byte[] with some buffering i.e. retries if fails up to 20 times.

ParseFormat ( string formatString ) : ImageEngineFormat
StringifyFormat ( ImageEngineFormat format ) : string

메소드 상세

FindHashByName() 공개 정적인 메소드

Finds hash from texture name given list of PCC's and ExpID's.
public static FindHashByName ( string name, List Files, List IDs, List TreeTexes ) : uint
name string Name of texture.
Files List List of PCC's to search with.
IDs List List of ExpID's to search with.
TreeTexes List List of tree textures to search through.
리턴 uint

FormatTexmodHashAsString() 공개 정적인 메소드

Returns hash as a string in the 0xhash format.
public static FormatTexmodHashAsString ( uint hash ) : string
hash uint Hash as a uint.
리턴 string

FormatTexmodHashAsUint() 공개 정적인 메소드

Returns a uint of a hash in string format.
public static FormatTexmodHashAsUint ( string line ) : uint
line string String containing hash in texmod log format of name|0xhash.
리턴 uint

GetExternalData() 공개 정적인 메소드

Gets external image data as byte[] with some buffering i.e. retries if fails up to 20 times.
public static GetExternalData ( string file ) : byte[]
file string File to get data from.
리턴 byte[]

ParseFormat() 공개 정적인 메소드

public static ParseFormat ( string formatString ) : ImageEngineFormat
formatString string
리턴 ImageEngineFormat

StringifyFormat() 공개 정적인 메소드

public static StringifyFormat ( ImageEngineFormat format ) : string
format ImageEngineFormat
리턴 string