示例#1
0
 public NoAllocCopyTextureEntry(
     Texture source,
     uint srcX, uint srcY, uint srcZ,
     uint srcMipLevel,
     uint srcBaseArrayLayer,
     Texture destination,
     uint dstX, uint dstY, uint dstZ,
     uint dstMipLevel,
     uint dstBaseArrayLayer,
     uint width, uint height, uint depth,
     uint layerCount)
 {
     Source            = source;
     SrcX              = srcX;
     SrcY              = srcY;
     SrcZ              = srcZ;
     SrcMipLevel       = srcMipLevel;
     SrcBaseArrayLayer = srcBaseArrayLayer;
     Destination       = destination;
     DstX              = dstX;
     DstY              = dstY;
     DstZ              = dstZ;
     DstMipLevel       = dstMipLevel;
     DstBaseArrayLayer = dstBaseArrayLayer;
     Width             = width;
     Height            = height;
     Depth             = depth;
     LayerCount        = layerCount;
 }
示例#2
0
 public NoAllocDrawIndirectEntry(Buffer indirectBuffer, uint offset, uint drawCount, uint stride)
 {
     IndirectBuffer = indirectBuffer;
     Offset         = offset;
     DrawCount      = drawCount;
     Stride         = stride;
 }
 public NoAllocCopyBufferEntry(Buffer source, uint sourceOffset, Buffer destination, uint destinationOffset, uint sizeInBytes)
 {
     Source            = source;
     SourceOffset      = sourceOffset;
     Destination       = destination;
     DestinationOffset = destinationOffset;
     SizeInBytes       = sizeInBytes;
 }
示例#4
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 NoAllocSetVertexBufferEntry(uint index, Buffer buffer)
 {
     Index  = index;
     Buffer = new HandleTracked <Buffer>(buffer);
 }
 public NoAllocSetPipelineEntry(Pipeline pipeline)
 {
     Pipeline = new HandleTracked <Pipeline>(pipeline);
 }
示例#8
0
 public NoAllocSetFramebufferEntry(Framebuffer fb)
 {
     Framebuffer = new HandleTracked <Framebuffer>(fb);
 }
示例#9
0
 public NoAllocSetVertexBufferEntry(uint index, VertexBuffer vb)
 {
     Index        = index;
     VertexBuffer = new HandleTracked <VertexBuffer>(vb);
 }
 public NoAllocSetIndexBufferEntry(IndexBuffer ib)
 {
     IndexBuffer = new HandleTracked <IndexBuffer>(ib);
 }
示例#11
0
 public NoAllocSetResourceSetEntry(uint slot, ResourceSet rs)
 {
     Slot        = slot;
     ResourceSet = rs;
 }
示例#12
0
 public NoAllocSetIndexBufferEntry(Buffer ib, IndexFormat format)
 {
     Buffer = new HandleTracked <Buffer>(ib);
     Format = format;
 }
 public NoAllocDispatchIndirectEntry(Buffer indirectBuffer, uint offset)
 {
     IndirectBuffer = indirectBuffer;
     Offset         = offset;
 }
示例#14
0
 public NoAllocResolveTextureEntry(Texture source, Texture destination)
 {
     Source      = new HandleTracked <Texture>(source);
     Destination = new HandleTracked <Texture>(destination);
 }