Example #1
0
 /// <summary>
 ///
 /// </summary>
 public ImageFormatProperties(Extent3D maxExtent, uint maxMipLevels, uint maxArrayLayers, SampleCountFlags sampleCounts, DeviceSize maxResourceSize)
 {
     this.MaxExtent       = maxExtent;
     this.MaxMipLevels    = maxMipLevels;
     this.MaxArrayLayers  = maxArrayLayers;
     this.SampleCounts    = sampleCounts;
     this.MaxResourceSize = maxResourceSize;
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 public ImageResolve(ImageSubresourceLayers sourceSubresource, Offset3D sourceOffset, ImageSubresourceLayers destinationSubresource, Offset3D destinationOffset, Extent3D extent)
 {
     this.SourceSubresource      = sourceSubresource;
     this.SourceOffset           = sourceOffset;
     this.DestinationSubresource = destinationSubresource;
     this.DestinationOffset      = destinationOffset;
     this.Extent = extent;
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 public SparseImageFormatProperties(ImageAspectFlags aspectMask, Extent3D imageGranularity, SparseImageFormatFlags flags)
 {
     this.AspectMask       = aspectMask;
     this.ImageGranularity = imageGranularity;
     this.Flags            = flags;
 }
 /// <summary>
 ///
 /// </summary>
 public QueueFamilyProperties(QueueFlags queueFlags, uint queueCount, uint timestampValidBits, Extent3D minImageTransferGranularity)
 {
     this.QueueFlags                  = queueFlags;
     this.QueueCount                  = queueCount;
     this.TimestampValidBits          = timestampValidBits;
     this.MinImageTransferGranularity = minImageTransferGranularity;
 }
Example #5
0
 /// <summary>
 ///
 /// </summary>
 public BufferImageCopy(DeviceSize bufferOffset, uint bufferRowLength, uint bufferImageHeight, ImageSubresourceLayers imageSubresource, Offset3D imageOffset, Extent3D imageExtent)
 {
     this.BufferOffset      = bufferOffset;
     this.BufferRowLength   = bufferRowLength;
     this.BufferImageHeight = bufferImageHeight;
     this.ImageSubresource  = imageSubresource;
     this.ImageOffset       = imageOffset;
     this.ImageExtent       = imageExtent;
 }