public PhysicalDeviceExternalBufferInfo
        (
            StructureType?sType     = StructureType.PhysicalDeviceExternalBufferInfo,
            void *pNext             = null,
            BufferCreateFlags?flags = null,
            BufferUsageFlags?usage  = null,
            ExternalMemoryHandleTypeFlags?handleType = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (flags is not null)
            {
                Flags = flags.Value;
            }

            if (usage is not null)
            {
                Usage = usage.Value;
            }

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }
        }
        public ImportMemoryZirconHandleInfoFUCHSIA
        (
            StructureType?sType = StructureType.ImportMemoryZirconHandleInfoFuchsia,
            void *pNext         = null,
            ExternalMemoryHandleTypeFlags?handleType = null,
            nint?handle = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }

            if (handle is not null)
            {
                Handle = handle.Value;
            }
        }
        public ImportMemoryWin32HandleInfoKHR
        (
            StructureType?sType = StructureType.ImportMemoryWin32HandleInfoKhr,
            void *pNext         = null,
            ExternalMemoryHandleTypeFlags?handleType = null,
            nint?handle = null,
            nint?name   = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }

            if (handle is not null)
            {
                Handle = handle.Value;
            }

            if (name is not null)
            {
                Name = name.Value;
            }
        }
예제 #4
0
        public ImportMemoryHostPointerInfoEXT
        (
            StructureType?sType = StructureType.ImportMemoryHostPointerInfoExt,
            void *pNext         = null,
            ExternalMemoryHandleTypeFlags?handleType = null,
            void *pHostPointer = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }

            if (pHostPointer is not null)
            {
                PHostPointer = pHostPointer;
            }
        }
        public MemoryGetFdInfoKHR
        (
            StructureType?sType = StructureType.MemoryGetFDInfoKhr,
            void *pNext         = null,
            DeviceMemory?memory = null,
            ExternalMemoryHandleTypeFlags?handleType = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

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

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }
        }
예제 #6
0
        public ImportMemoryFdInfoKHR
        (
            StructureType?sType = StructureType.ImportMemoryFDInfoKhr,
            void *pNext         = null,
            ExternalMemoryHandleTypeFlags?handleType = null,
            int?fd = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }

            if (fd is not null)
            {
                Fd = fd.Value;
            }
        }
예제 #7
0
        public MemoryGetZirconHandleInfoFUCHSIA
        (
            StructureType?sType = StructureType.MemoryGetZirconHandleInfoFuchsia,
            void *pNext         = null,
            DeviceMemory?memory = null,
            ExternalMemoryHandleTypeFlags?handleType = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

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

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }
        }
예제 #8
0
        public ExternalMemoryImageCreateInfo
        (
            StructureType?sType = StructureType.ExternalMemoryImageCreateInfo,
            void *pNext         = null,
            ExternalMemoryHandleTypeFlags?handleTypes = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (handleTypes is not null)
            {
                HandleTypes = handleTypes.Value;
            }
        }
        public PhysicalDeviceExternalImageFormatInfoKHR
        (
            StructureType?sType = StructureType.PhysicalDeviceExternalImageFormatInfo,
            void *pNext         = null,
            ExternalMemoryHandleTypeFlags?handleType = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }
        }
예제 #10
0
        public ExternalMemoryPropertiesKHR
        (
            ExternalMemoryFeatureFlags?externalMemoryFeatures           = null,
            ExternalMemoryHandleTypeFlags?exportFromImportedHandleTypes = null,
            ExternalMemoryHandleTypeFlags?compatibleHandleTypes         = null
        ) : this()
        {
            if (externalMemoryFeatures is not null)
            {
                ExternalMemoryFeatures = externalMemoryFeatures.Value;
            }

            if (exportFromImportedHandleTypes is not null)
            {
                ExportFromImportedHandleTypes = exportFromImportedHandleTypes.Value;
            }

            if (compatibleHandleTypes is not null)
            {
                CompatibleHandleTypes = compatibleHandleTypes.Value;
            }
        }