Esempio n. 1
0
 internal HEADER_DXT10(BinaryReaderEx br)
 {
     dxgiFormat        = br.ReadEnum32 <DXGI_FORMAT>();
     resourceDimension = br.ReadEnum32 <DIMENSION>();
     miscFlag          = (RESOURCE_MISC)br.ReadUInt32();
     arraySize         = br.ReadUInt32();
     miscFlags2        = br.ReadEnum32 <ALPHA_MODE>();
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new DX10 header with default values.
 /// </summary>
 public HEADER_DXT10()
 {
     dxgiFormat        = DXGI_FORMAT.UNKNOWN;
     resourceDimension = DIMENSION.TEXTURE2D;
     miscFlag          = 0;
     arraySize         = 1;
     miscFlags2        = ALPHA_MODE.UNKNOWN;
 }