Elin Modding Docs Doc
Loading...
Searching...
No Matches
TextureData Class Reference
Inheritance diagram for TextureData:
EScriptable

Classes

class  Date
 

Public Types

enum  Type { Pass , World , DestTex }
 

Public Member Functions

void TryRefresh ()
 
void ForceRefresh ()
 
virtual bool IsValid ()
 
void Load (bool dateMatched)
 
void CreateReplace (int index, string path, TextureReplace.Source source, int sizeX, int sizeY)
 
void AddReplace (TextureReplace r)
 
void DeleteReplace (TextureReplace r)
 
void RemoveDeletedReplace (int index)
 

Static Public Member Functions

static void RefreshAll ()
 
- Static Public Member Functions inherited from EScriptable
static int rnd (int a)
 

Public Attributes

string id
 
TextureData.Type type
 
TextureData.Date date
 
Texture2D tex
 
bool forceRefresh
 
int tileW
 
int tileH
 
string path
 
string texName
 
List< MeshPasslistPass = new List<MeshPass>()
 
Dictionary< int, TextureReplacedictReplace = new Dictionary<int, TextureReplace>()
 
List< TextureReplacelistReplaceLocal = new List<TextureReplace>()
 

Detailed Description

Definition at line 7 of file TextureData.cs.

Member Enumeration Documentation

◆ Type

enum TextureData.Type

Definition at line 273 of file TextureData.cs.

Member Function Documentation

◆ AddReplace()

void TextureData.AddReplace ( TextureReplace r)

Definition at line 163 of file TextureData.cs.

◆ CreateReplace()

void TextureData.CreateReplace ( int index,
string path,
TextureReplace.Source source,
int sizeX,
int sizeY )

Definition at line 143 of file TextureData.cs.

◆ DeleteReplace()

void TextureData.DeleteReplace ( TextureReplace r)

Definition at line 185 of file TextureData.cs.

◆ ForceRefresh()

void TextureData.ForceRefresh ( )

Definition at line 47 of file TextureData.cs.

◆ IsValid()

virtual bool TextureData.IsValid ( )
virtual

Definition at line 67 of file TextureData.cs.

◆ Load()

void TextureData.Load ( bool dateMatched)

Definition at line 88 of file TextureData.cs.

◆ RefreshAll()

static void TextureData.RefreshAll ( )
static

Definition at line 54 of file TextureData.cs.

◆ RemoveDeletedReplace()

void TextureData.RemoveDeletedReplace ( int index)

Definition at line 192 of file TextureData.cs.

◆ TryRefresh()

void TextureData.TryRefresh ( )

Definition at line 10 of file TextureData.cs.

Member Data Documentation

◆ date

TextureData.Date TextureData.date

Definition at line 215 of file TextureData.cs.

◆ dictReplace

Dictionary<int, TextureReplace> TextureData.dictReplace = new Dictionary<int, TextureReplace>()

Definition at line 243 of file TextureData.cs.

◆ forceRefresh

bool TextureData.forceRefresh

Definition at line 221 of file TextureData.cs.

◆ id

string TextureData.id

Definition at line 209 of file TextureData.cs.

◆ listPass

List<MeshPass> TextureData.listPass = new List<MeshPass>()

Definition at line 239 of file TextureData.cs.

◆ listReplaceLocal

List<TextureReplace> TextureData.listReplaceLocal = new List<TextureReplace>()

Definition at line 247 of file TextureData.cs.

◆ path

string TextureData.path

Definition at line 231 of file TextureData.cs.

◆ tex

Texture2D TextureData.tex

Definition at line 218 of file TextureData.cs.

◆ texName

string TextureData.texName

Definition at line 235 of file TextureData.cs.

◆ tileH

int TextureData.tileH

Definition at line 227 of file TextureData.cs.

◆ tileW

int TextureData.tileW

Definition at line 224 of file TextureData.cs.

◆ type

TextureData.Type TextureData.type

Definition at line 212 of file TextureData.cs.


The documentation for this class was generated from the following file: