Ejemplo n.º 1
0
        public ImageCopy
        (
            ImageSubresourceLayers?srcSubresource = null,
            Offset3D?srcOffset = null,
            ImageSubresourceLayers?dstSubresource = null,
            Offset3D?dstOffset = null,
            Extent3D?extent    = null
        ) : this()
        {
            if (srcSubresource is not null)
            {
                SrcSubresource = srcSubresource.Value;
            }

            if (srcOffset is not null)
            {
                SrcOffset = srcOffset.Value;
            }

            if (dstSubresource is not null)
            {
                DstSubresource = dstSubresource.Value;
            }

            if (dstOffset is not null)
            {
                DstOffset = dstOffset.Value;
            }

            if (extent is not null)
            {
                Extent = extent.Value;
            }
        }
Ejemplo n.º 2
0
        public BufferImageCopy2KHR
        (
            StructureType?sType    = StructureType.BufferImageCopy2Khr,
            void *pNext            = null,
            ulong?bufferOffset     = null,
            uint?bufferRowLength   = null,
            uint?bufferImageHeight = null,
            ImageSubresourceLayers?imageSubresource = null,
            Offset3D?imageOffset = null,
            Extent3D?imageExtent = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (bufferOffset is not null)
            {
                BufferOffset = bufferOffset.Value;
            }

            if (bufferRowLength is not null)
            {
                BufferRowLength = bufferRowLength.Value;
            }

            if (bufferImageHeight is not null)
            {
                BufferImageHeight = bufferImageHeight.Value;
            }

            if (imageSubresource is not null)
            {
                ImageSubresource = imageSubresource.Value;
            }

            if (imageOffset is not null)
            {
                ImageOffset = imageOffset.Value;
            }

            if (imageExtent is not null)
            {
                ImageExtent = imageExtent.Value;
            }
        }
Ejemplo n.º 3
0
        public ImageCopy2KHR
        (
            StructureType?sType = StructureType.ImageCopy2Khr,
            void *pNext         = null,
            ImageSubresourceLayers?srcSubresource = null,
            Offset3D?srcOffset = null,
            ImageSubresourceLayers?dstSubresource = null,
            Offset3D?dstOffset = null,
            Extent3D?extent    = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (srcSubresource is not null)
            {
                SrcSubresource = srcSubresource.Value;
            }

            if (srcOffset is not null)
            {
                SrcOffset = srcOffset.Value;
            }

            if (dstSubresource is not null)
            {
                DstSubresource = dstSubresource.Value;
            }

            if (dstOffset is not null)
            {
                DstOffset = dstOffset.Value;
            }

            if (extent is not null)
            {
                Extent = extent.Value;
            }
        }
Ejemplo n.º 4
0
        public SparseImageMemoryBind
        (
            ImageSubresource?subresource = null,
            Offset3D?offset             = null,
            Extent3D?extent             = null,
            DeviceMemory?memory         = null,
            ulong?memoryOffset          = null,
            SparseMemoryBindFlags?flags = null
        ) : this()
        {
            if (subresource is not null)
            {
                Subresource = subresource.Value;
            }

            if (offset is not null)
            {
                Offset = offset.Value;
            }

            if (extent is not null)
            {
                Extent = extent.Value;
            }

            if (memory is not null)
            {
                Memory = memory.Value;
            }

            if (memoryOffset is not null)
            {
                MemoryOffset = memoryOffset.Value;
            }

            if (flags is not null)
            {
                Flags = flags.Value;
            }
        }
        public BufferImageCopy
        (
            ulong?bufferOffset     = null,
            uint?bufferRowLength   = null,
            uint?bufferImageHeight = null,
            ImageSubresourceLayers?imageSubresource = null,
            Offset3D?imageOffset = null,
            Extent3D?imageExtent = null
        ) : this()
        {
            if (bufferOffset is not null)
            {
                BufferOffset = bufferOffset.Value;
            }

            if (bufferRowLength is not null)
            {
                BufferRowLength = bufferRowLength.Value;
            }

            if (bufferImageHeight is not null)
            {
                BufferImageHeight = bufferImageHeight.Value;
            }

            if (imageSubresource is not null)
            {
                ImageSubresource = imageSubresource.Value;
            }

            if (imageOffset is not null)
            {
                ImageOffset = imageOffset.Value;
            }

            if (imageExtent is not null)
            {
                ImageExtent = imageExtent.Value;
            }
        }