Пример #1
0
 public ImageCreateInfo
 (
     StructureType sType        = StructureType.ImageCreateInfo,
     void *pNext                = default,
     ImageCreateFlags flags     = default,
     ImageType imageType        = default,
     Format format              = default,
     Extent3D extent            = default,
     uint mipLevels             = default,
     uint arrayLayers           = default,
     SampleCountFlags samples   = default,
     ImageTiling tiling         = default,
     ImageUsageFlags usage      = default,
     SharingMode sharingMode    = default,
     uint queueFamilyIndexCount = default,
     uint *pQueueFamilyIndices  = default,
     ImageLayout initialLayout  = default
 )
 {
     SType                 = sType;
     PNext                 = pNext;
     Flags                 = flags;
     ImageType             = imageType;
     Format                = format;
     Extent                = extent;
     MipLevels             = mipLevels;
     ArrayLayers           = arrayLayers;
     Samples               = samples;
     Tiling                = tiling;
     Usage                 = usage;
     SharingMode           = sharingMode;
     QueueFamilyIndexCount = queueFamilyIndexCount;
     PQueueFamilyIndices   = pQueueFamilyIndices;
     InitialLayout         = initialLayout;
 }
Пример #2
0
 public SparseImageFormatProperties
 (
     ImageAspectFlags aspectMask  = default,
     Extent3D imageGranularity    = default,
     SparseImageFormatFlags flags = default
 )
 {
     AspectMask       = aspectMask;
     ImageGranularity = imageGranularity;
     Flags            = flags;
 }
Пример #3
0
 public QueueFamilyProperties
 (
     QueueFlags queueFlags   = default,
     uint queueCount         = default,
     uint timestampValidBits = default,
     Extent3D minImageTransferGranularity = default
 )
 {
     QueueFlags                  = queueFlags;
     QueueCount                  = queueCount;
     TimestampValidBits          = timestampValidBits;
     MinImageTransferGranularity = minImageTransferGranularity;
 }
Пример #4
0
 public ImageCopy
 (
     ImageSubresourceLayers srcSubresource = default,
     Offset3D srcOffset = default,
     ImageSubresourceLayers dstSubresource = default,
     Offset3D dstOffset = default,
     Extent3D extent    = default
 )
 {
     SrcSubresource = srcSubresource;
     SrcOffset      = srcOffset;
     DstSubresource = dstSubresource;
     DstOffset      = dstOffset;
     Extent         = extent;
 }
Пример #5
0
 public ImageFormatProperties
 (
     Extent3D maxExtent            = default,
     uint maxMipLevels             = default,
     uint maxArrayLayers           = default,
     SampleCountFlags sampleCounts = default,
     ulong maxResourceSize         = default
 )
 {
     MaxExtent       = maxExtent;
     MaxMipLevels    = maxMipLevels;
     MaxArrayLayers  = maxArrayLayers;
     SampleCounts    = sampleCounts;
     MaxResourceSize = maxResourceSize;
 }
Пример #6
0
 public BufferImageCopy
 (
     ulong bufferOffset     = default,
     uint bufferRowLength   = default,
     uint bufferImageHeight = default,
     ImageSubresourceLayers imageSubresource = default,
     Offset3D imageOffset = default,
     Extent3D imageExtent = default
 )
 {
     BufferOffset      = bufferOffset;
     BufferRowLength   = bufferRowLength;
     BufferImageHeight = bufferImageHeight;
     ImageSubresource  = imageSubresource;
     ImageOffset       = imageOffset;
     ImageExtent       = imageExtent;
 }
Пример #7
0
 public SparseImageMemoryBind
 (
     ImageSubresource subresource = default,
     Offset3D offset             = default,
     Extent3D extent             = default,
     DeviceMemory memory         = default,
     ulong memoryOffset          = default,
     SparseMemoryBindFlags flags = default
 )
 {
     Subresource  = subresource;
     Offset       = offset;
     Extent       = extent;
     Memory       = memory;
     MemoryOffset = memoryOffset;
     Flags        = flags;
 }