Example #1
0
 public NoAllocUpdateTextureCubeEntry(
     Texture texture,
     StagingBlock stagingBlock,
     CubeFace face,
     uint x,
     uint y,
     uint width,
     uint height,
     uint mipLevel,
     uint arrayLayer)
 {
     Texture      = texture;
     StagingBlock = new HandleTrackedStagingBlock(stagingBlock);
     Face         = face;
     X            = x;
     Y            = y;
     Width        = width;
     Height       = height;
     MipLevel     = mipLevel;
     ArrayLayer   = arrayLayer;
 }
 public NoAllocUpdateTextureEntry(
     Texture texture,
     StagingBlock stagingBlock,
     uint x,
     uint y,
     uint z,
     uint width,
     uint height,
     uint depth,
     uint mipLevel,
     uint arrayLayer)
 {
     Texture      = texture;
     StagingBlock = new HandleTrackedStagingBlock(stagingBlock);
     X            = x;
     Y            = y;
     Z            = z;
     Width        = width;
     Height       = height;
     Depth        = depth;
     MipLevel     = mipLevel;
     ArrayLayer   = arrayLayer;
 }
 public NoAllocUpdateBufferEntry(Buffer buffer, uint bufferOffsetInBytes, StagingBlock stagingBlock)
 {
     Buffer = new HandleTracked <Buffer>(buffer);
     BufferOffsetInBytes = bufferOffsetInBytes;
     StagingBlock        = new HandleTrackedStagingBlock(stagingBlock);
 }