예제 #1
0
 public DDSMetadata(
     uint width,
     uint height,
     uint depth,
     uint slicecount,
     uint mipscount,
     uint miscFlags,
     uint miscFlags2,
     DXGI_FORMAT format,
     TEX_DIMENSION dimensions,
     uint bpp,
     bool dx10 = false)
 {
     Width      = width;
     Height     = height;
     Mipscount  = mipscount;
     Format     = format;
     Bpp        = bpp;
     Depth      = depth;
     MiscFlags  = miscFlags;
     MiscFlags2 = miscFlags2;
     Dimensions = dimensions;
     Slicecount = slicecount;
     Dx10       = dx10;
 }
예제 #2
0
 public TexMetadata(int width, int height, int depth, int arraySize, int mipLevels, TEX_MISC_FLAG miscFlags, int miscFlags2, DXGI_FORMAT format, TEX_DIMENSION dimension)
 {
     this.width      = (IntPtr)width;
     this.height     = (IntPtr)height;
     this.depth      = (IntPtr)depth;
     this.arraySize  = (IntPtr)arraySize;
     this.mipLevels  = (IntPtr)mipLevels;
     this.miscFlags  = miscFlags;
     this.miscFlags2 = miscFlags2;
     this.format     = format;
     this.dimension  = dimension;
 }
예제 #3
0
 public TexMetadata(
     Size_t width,
     Size_t height,
     Size_t depth,
     Size_t arraySize,
     Size_t mipLevels,
     TEX_MISC_FLAG miscFlags,
     TEX_MISC_FLAG2 miscFlags2,
     DXGI_FORMAT format,
     TEX_DIMENSION dimension)
 {
     this.Width      = width;
     this.Height     = height;
     this.Depth      = depth;
     this.ArraySize  = arraySize;
     this.MipLevels  = mipLevels;
     this.MiscFlags  = miscFlags;
     this.MiscFlags2 = miscFlags2;
     this.Format     = format;
     this.Dimension  = dimension;
 }
예제 #4
0
 public TexMetadata(int width, int height, int depth, int arraySize, int mipLevels, TEX_MISC_FLAG miscFlags, int miscFlags2, DXGI_FORMAT format, TEX_DIMENSION dimension)
 {
     this.width = (IntPtr)width;
     this.height = (IntPtr)height;
     this.depth = (IntPtr)depth;
     this.arraySize = (IntPtr)arraySize;
     this.mipLevels = (IntPtr)mipLevels;
     this.miscFlags = miscFlags;
     this.miscFlags2 = miscFlags2;
     this.format = format;
     this.dimension = dimension;
 }