public SampleLocationsInfoEXT ( StructureType sType = StructureType.SampleLocationsInfoExt, void *pNext = default, SampleCountFlags sampleLocationsPerPixel = default, Extent2D sampleLocationGridSize = default, uint sampleLocationsCount = default, SampleLocationEXT *pSampleLocations = default ) { SType = sType; PNext = pNext; SampleLocationsPerPixel = sampleLocationsPerPixel; SampleLocationGridSize = sampleLocationGridSize; SampleLocationsCount = sampleLocationsCount; PSampleLocations = pSampleLocations; }
public SampleLocationsInfoEXT ( StructureType?sType = StructureType.SampleLocationsInfoExt, void *pNext = null, SampleCountFlags?sampleLocationsPerPixel = null, Extent2D?sampleLocationGridSize = null, uint?sampleLocationsCount = null, SampleLocationEXT *pSampleLocations = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (sampleLocationsPerPixel is not null) { SampleLocationsPerPixel = sampleLocationsPerPixel.Value; } if (sampleLocationGridSize is not null) { SampleLocationGridSize = sampleLocationGridSize.Value; } if (sampleLocationsCount is not null) { SampleLocationsCount = sampleLocationsCount.Value; } if (pSampleLocations is not null) { PSampleLocations = pSampleLocations; } }