Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
MAT3 Class Reference

Properties

BindingList< Material3MaterialList [get, protected set]
 
List< short > MaterialRemapTable [get, protected set]
 
StringTable MaterialNameTable [get, protected set]
 
List< short > TextureRemapTable [get, protected set]
 

Private Member Functions

delegate T LoadTypeFromStream< T > (EndianBinaryReader stream)
 Delegate defines a function that decodes one instance of type T.
 

Static Private Member Functions

static List< T > Collect< T > (EndianBinaryReader stream, LoadTypeFromStream< T > function, int count)
 
static List< T > ReadSection< T > (EndianBinaryReader stream, long chunkStart, int chunkSize, int[] offsets, int offset, LoadTypeFromStream< T > function, int itemSize)
 
static T ReadEntry< T > (EndianBinaryReader stream, LoadTypeFromStream< T > readFunction, long chunkStart, int[] offsets, int offset, int entryNumber, int itemSize)
 
static WLinearColor ReadColor32 (EndianBinaryReader stream)
 
static WLinearColor ReadColorShort (EndianBinaryReader stream)
 
static GXCullMode ReadCullMode (EndianBinaryReader stream)
 
static IndirectTexture ReadIndirectTexture (EndianBinaryReader stream)
 
static NBTScale ReadNBTScale (EndianBinaryReader stream)
 
static ZMode ReadZMode (EndianBinaryReader stream)
 
static AlphaTest ReadAlphaCompare (EndianBinaryReader stream)
 
static BlendMode ReadBlendMode (EndianBinaryReader stream)
 
static ColorChannelControl ReadChannelControl (EndianBinaryReader stream)
 
static TexCoordGen ReadTexCoordGen (EndianBinaryReader stream)
 
static TexMatrix ReadTexMatrix (EndianBinaryReader stream)
 
static TevIn ReadTevIn (EndianBinaryReader stream)
 
static TevOp ReadTevOp (EndianBinaryReader stream)
 
static TevOrder ReadTevOrder (EndianBinaryReader stream)
 
static TevStage ReadTevCombinerStage (EndianBinaryReader stream)
 
static TevSwapMode ReadTevSwapMode (EndianBinaryReader stream)
 
static TevSwapModeTable ReadTevSwapModeTable (EndianBinaryReader stream)
 
static FogInfo ReadFogInfo (EndianBinaryReader stream)
 
static int ReadInt32 (EndianBinaryReader stream)
 
static byte ReadByte (EndianBinaryReader stream)
 
static short ReadShort (EndianBinaryReader stream)
 
static bool ReadBool (EndianBinaryReader stream)
 
static int GetOffsetLength (int[] dataOffsets, int currentIndex, int endChunkOffset)
 

Member Function Documentation

◆ Collect< T >()

static List< T > MAT3.Collect< T > ( EndianBinaryReader stream,
LoadTypeFromStream< T > function,
int count )
staticprivate

◆ GetOffsetLength()

static int MAT3.GetOffsetLength ( int[] dataOffsets,
int currentIndex,
int endChunkOffset )
staticprivate

◆ LoadTypeFromStream< T >()

delegate T MAT3.LoadTypeFromStream< T > ( EndianBinaryReader stream)
private

Delegate defines a function that decodes one instance of type T.

Parameters
streamThe stream to decode the instance from

◆ ReadAlphaCompare()

static AlphaTest MAT3.ReadAlphaCompare ( EndianBinaryReader stream)
staticprivate

◆ ReadBlendMode()

static BlendMode MAT3.ReadBlendMode ( EndianBinaryReader stream)
staticprivate

◆ ReadBool()

static bool MAT3.ReadBool ( EndianBinaryReader stream)
staticprivate

◆ ReadByte()

static byte MAT3.ReadByte ( EndianBinaryReader stream)
staticprivate

◆ ReadChannelControl()

static ColorChannelControl MAT3.ReadChannelControl ( EndianBinaryReader stream)
staticprivate

◆ ReadColor32()

static WLinearColor MAT3.ReadColor32 ( EndianBinaryReader stream)
staticprivate

◆ ReadColorShort()

static WLinearColor MAT3.ReadColorShort ( EndianBinaryReader stream)
staticprivate

◆ ReadCullMode()

static GXCullMode MAT3.ReadCullMode ( EndianBinaryReader stream)
staticprivate

◆ ReadEntry< T >()

static T MAT3.ReadEntry< T > ( EndianBinaryReader stream,
LoadTypeFromStream< T > readFunction,
long chunkStart,
int[] offsets,
int offset,
int entryNumber,
int itemSize )
staticprivate

◆ ReadFogInfo()

static FogInfo MAT3.ReadFogInfo ( EndianBinaryReader stream)
staticprivate

◆ ReadIndirectTexture()

static IndirectTexture MAT3.ReadIndirectTexture ( EndianBinaryReader stream)
staticprivate

◆ ReadInt32()

static int MAT3.ReadInt32 ( EndianBinaryReader stream)
staticprivate

◆ ReadNBTScale()

static NBTScale MAT3.ReadNBTScale ( EndianBinaryReader stream)
staticprivate

◆ ReadSection< T >()

static List< T > MAT3.ReadSection< T > ( EndianBinaryReader stream,
long chunkStart,
int chunkSize,
int[] offsets,
int offset,
LoadTypeFromStream< T > function,
int itemSize )
staticprivate

◆ ReadShort()

static short MAT3.ReadShort ( EndianBinaryReader stream)
staticprivate

◆ ReadTevCombinerStage()

static TevStage MAT3.ReadTevCombinerStage ( EndianBinaryReader stream)
staticprivate

◆ ReadTevIn()

static TevIn MAT3.ReadTevIn ( EndianBinaryReader stream)
staticprivate

◆ ReadTevOp()

static TevOp MAT3.ReadTevOp ( EndianBinaryReader stream)
staticprivate

◆ ReadTevOrder()

static TevOrder MAT3.ReadTevOrder ( EndianBinaryReader stream)
staticprivate

◆ ReadTevSwapMode()

static TevSwapMode MAT3.ReadTevSwapMode ( EndianBinaryReader stream)
staticprivate

◆ ReadTevSwapModeTable()

static TevSwapModeTable MAT3.ReadTevSwapModeTable ( EndianBinaryReader stream)
staticprivate

◆ ReadTexCoordGen()

static TexCoordGen MAT3.ReadTexCoordGen ( EndianBinaryReader stream)
staticprivate

◆ ReadTexMatrix()

static TexMatrix MAT3.ReadTexMatrix ( EndianBinaryReader stream)
staticprivate

◆ ReadZMode()

static ZMode MAT3.ReadZMode ( EndianBinaryReader stream)
staticprivate

Property Documentation

◆ MaterialList

BindingList<Material3> MAT3.MaterialList
getprotected set

◆ MaterialNameTable

StringTable MAT3.MaterialNameTable
getprotected set

◆ MaterialRemapTable

List<short> MAT3.MaterialRemapTable
getprotected set

◆ TextureRemapTable

List<short> MAT3.TextureRemapTable
getprotected set

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