Elin Modding Docs Doc
|
Public Member Functions | |
void | Init () |
void | AddBase (TextureData data, string path, MeshPass pass, string texName="_MainTex") |
void | Add (MeshPass to, TextureData from, string texName="_MainTex") |
void | AddList (TextureData data, string path) |
void | RefreshTextures () |
void | OnDropFile (List< string > paths) |
bool | TryAddReplace (FileInfo file, TextureReplace.Source source=TextureReplace.Source.Mod, bool add=true, bool refresh=false) |
void | ApplyLocalReplace (string path) |
Public Attributes | |
Dictionary< string, TextureData > | texMap = new Dictionary<string, TextureData>() |
Properties | |
string | pathTex [get] |
Definition at line 6 of file TextureManager.cs.
void TextureManager.Add | ( | MeshPass | to, |
TextureData | from, | ||
string | texName = "_MainTex" ) |
Definition at line 83 of file TextureManager.cs.
void TextureManager.AddBase | ( | TextureData | data, |
string | path, | ||
MeshPass | pass, | ||
string | texName = "_MainTex" ) |
Definition at line 71 of file TextureManager.cs.
void TextureManager.AddList | ( | TextureData | data, |
string | path ) |
Definition at line 89 of file TextureManager.cs.
void TextureManager.ApplyLocalReplace | ( | string | path | ) |
Definition at line 177 of file TextureManager.cs.
void TextureManager.Init | ( | ) |
Definition at line 19 of file TextureManager.cs.
void TextureManager.OnDropFile | ( | List< string > | paths | ) |
Definition at line 109 of file TextureManager.cs.
void TextureManager.RefreshTextures | ( | ) |
Definition at line 96 of file TextureManager.cs.
bool TextureManager.TryAddReplace | ( | FileInfo | file, |
TextureReplace.Source | source = TextureReplace::Source::Mod, | ||
bool | add = true, | ||
bool | refresh = false ) |
Definition at line 137 of file TextureManager.cs.
Dictionary<string, TextureData> TextureManager.texMap = new Dictionary<string, TextureData>() |
Definition at line 211 of file TextureManager.cs.
|
get |
Definition at line 10 of file TextureManager.cs.