Exemplo n.º 1
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;
 }
Exemplo n.º 2
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;
 }
Exemplo n.º 3
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;
 }