Esempio 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;
            }
        }
        public ImageBlit2KHR
        (
            StructureType?sType = StructureType.ImageBlit2Khr,
            void *pNext         = null,
            ImageSubresourceLayers?srcSubresource = null,
            ImageSubresourceLayers?dstSubresource = 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 (dstSubresource is not null)
            {
                DstSubresource = dstSubresource.Value;
            }
        }
Esempio n. 3
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;
            }
        }
Esempio n. 4
0
        public ImageBlit
        (
            ImageSubresourceLayers?srcSubresource = null,
            ImageSubresourceLayers?dstSubresource = null
        ) : this()
        {
            if (srcSubresource is not null)
            {
                SrcSubresource = srcSubresource.Value;
            }

            if (dstSubresource is not null)
            {
                DstSubresource = dstSubresource.Value;
            }
        }
        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;
            }
        }
        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;
            }
        }