Esempio n. 1
0
        public ExternalSemaphorePropertiesKHR
        (
            StructureType?sType = StructureType.ExternalSemaphoreProperties,
            void *pNext         = null,
            ExternalSemaphoreHandleTypeFlags?exportFromImportedHandleTypes = null,
            ExternalSemaphoreHandleTypeFlags?compatibleHandleTypes         = null,
            ExternalSemaphoreFeatureFlags?externalSemaphoreFeatures        = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

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

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

            if (externalSemaphoreFeatures is not null)
            {
                ExternalSemaphoreFeatures = externalSemaphoreFeatures.Value;
            }
        }
        public SemaphoreGetWin32HandleInfoKHR
        (
            StructureType?sType = StructureType.SemaphoreGetWin32HandleInfoKhr,
            void *pNext         = null,
            Semaphore?semaphore = null,
            ExternalSemaphoreHandleTypeFlags?handleType = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (semaphore is not null)
            {
                Semaphore = semaphore.Value;
            }

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }
        }
Esempio n. 3
0
        public SemaphoreGetZirconHandleInfoFUCHSIA
        (
            StructureType?sType = StructureType.SemaphoreGetZirconHandleInfoFuchsia,
            void *pNext         = null,
            Semaphore?semaphore = null,
            ExternalSemaphoreHandleTypeFlags?handleType = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (semaphore is not null)
            {
                Semaphore = semaphore.Value;
            }

            if (handleType is not null)
            {
                HandleType = handleType.Value;
            }
        }
Esempio n. 4
0
        public ImportSemaphoreWin32HandleInfoKHR
        (
            StructureType?sType        = StructureType.ImportSemaphoreWin32HandleInfoKhr,
            void *pNext                = null,
            Semaphore?semaphore        = null,
            SemaphoreImportFlags?flags = null,
            ExternalSemaphoreHandleTypeFlags?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 (semaphore is not null)
            {
                Semaphore = semaphore.Value;
            }

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

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

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

            if (name is not null)
            {
                Name = name.Value;
            }
        }
        public ImportSemaphoreFdInfoKHR
        (
            StructureType?sType        = StructureType.ImportSemaphoreFDInfoKhr,
            void *pNext                = null,
            Semaphore?semaphore        = null,
            SemaphoreImportFlags?flags = null,
            ExternalSemaphoreHandleTypeFlags?handleType = null,
            int?fd = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (semaphore is not null)
            {
                Semaphore = semaphore.Value;
            }

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

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

            if (fd is not null)
            {
                Fd = fd.Value;
            }
        }
Esempio n. 6
0
        public ImportSemaphoreZirconHandleInfoFUCHSIA
        (
            StructureType?sType        = StructureType.ImportSemaphoreZirconHandleInfoFuchsia,
            void *pNext                = null,
            Semaphore?semaphore        = null,
            SemaphoreImportFlags?flags = null,
            ExternalSemaphoreHandleTypeFlags?handleType = null,
            nint?zirconHandle = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (semaphore is not null)
            {
                Semaphore = semaphore.Value;
            }

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

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

            if (zirconHandle is not null)
            {
                ZirconHandle = zirconHandle.Value;
            }
        }
Esempio n. 7
0
        public PhysicalDeviceExternalSemaphoreInfoKHR
        (
            StructureType?sType = StructureType.PhysicalDeviceExternalSemaphoreInfo,
            void *pNext         = null,
            ExternalSemaphoreHandleTypeFlags?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;
            }
        }
        public ExportSemaphoreCreateInfoKHR
        (
            StructureType?sType = StructureType.ExportSemaphoreCreateInfo,
            void *pNext         = null,
            ExternalSemaphoreHandleTypeFlags?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;
            }
        }