Пример #1
0
 // Constructors
 public RWTextureNativeStruct(RWNode parent = null)
     : base(RWNodeType.Struct, parent)
 {
     _platformID = RWPlatformID.PS2;
     FilterMode = PS2FilterMode.Linear;
     HorizontalAddressingMode = PS2AddressingMode.Wrap;
     VerticalAddressingMode = PS2AddressingMode.Wrap;
 }
Пример #2
0
 public RWTextureNativeStruct(
     RWPlatformID rwPlatformID, PS2FilterMode filterMode, 
     PS2AddressingMode horizontalAddrMode, PS2AddressingMode verticalAddrMode,
     RWNode parent = null)
     : base(RWNodeType.Struct, parent)
 {
     _platformID = rwPlatformID;
     FilterMode = filterMode;
     HorizontalAddressingMode = horizontalAddrMode;
     VerticalAddressingMode = verticalAddrMode;
 }
Пример #3
0
 internal RWTextureNativeStruct(RWNodeFactory.RWNodeInfo header, BinaryReader reader)
     : base(header)
 {
     _platformID = (RWPlatformID)reader.ReadUInt32();
     _flags = reader.ReadUInt32();
 }