コード例 #1
0
        public PresentRegionsKHR
        (
            StructureType?sType        = StructureType.PresentRegionsKhr,
            void *pNext                = null,
            uint?swapchainCount        = null,
            PresentRegionKHR *pRegions = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

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

            if (swapchainCount is not null)
            {
                SwapchainCount = swapchainCount.Value;
            }

            if (pRegions is not null)
            {
                PRegions = pRegions;
            }
        }
コード例 #2
0
 public PresentRegionsKHR
 (
     StructureType sType        = StructureType.PresentRegionsKhr,
     void *pNext                = default,
     uint swapchainCount        = default,
     PresentRegionKHR *pRegions = default
 )
 {
     SType          = sType;
     PNext          = pNext;
     SwapchainCount = swapchainCount;
     PRegions       = pRegions;
 }