public TevOrder(EndianBinaryReader reader) { TexCoord = (TexCoordId)reader.ReadByte(); TexMap = (TexMapId)reader.ReadByte(); ChannelId = (GXColorChannelId)reader.ReadByte(); reader.SkipByte(); }
public void AddTevOrder(TexCoordId coordId, TexMapId mapId, GXColorChannelId colorChanId) { for (int i = 0; i < 8; i++) { if (TevOrders[i] == null) { TevOrders[i] = new TevOrder(coordId, mapId, colorChanId); break; } if (i == 9) { throw new Exception($"TevOrder array for material \"{ Name }\" is full!"); } } }
public IndirectTevOrder(EndianBinaryReader reader) { TexCoord = (TexCoordId)reader.ReadByte(); TexMap = (TexMapId)reader.ReadByte(); reader.SkipInt16(); }
public IndirectTevOrder() { TexCoord = TexCoordId.Null; TexMap = TexMapId.Null; }
public TevOrder(TexCoordId texCoord, TexMapId texMap, GXColorChannelId chanID) { TexCoord = texCoord; TexMap = texMap; ChannelId = chanID; }
public IndirectTevOrder(TexCoordId coordId, TexMapId mapId) { TexCoord = coordId; TexMap = mapId; }