Esempio n. 1
0
 public VkLayerProperties(Raw *raw)
 {
     LayerName             = VkHelpers.ToString(raw->layerName);
     SpecVersion           = raw->specVersion;
     ImplementationVersion = raw->implementationVersion;
     Description           = VkHelpers.ToString(raw->description);
 }
Esempio n. 2
0
 public VkDisplayPropertiesKHR(Raw *raw, IVkPhysicalDevice physicalDevice)
 {
     Display              = physicalDevice.GetDisplay(raw->display);
     DisplayName          = VkHelpers.ToString(raw->displayName);
     PhysicalDimensions   = raw->physicalDimensions;
     PhysicalResolution   = raw->physicalResolution;
     SupportedTransforms  = raw->supportedTransforms;
     PlaneReorderPossible = (bool)raw->planeReorderPossible;
     PersistentContent    = (bool)raw->persistentContent;
 }
Esempio n. 3
0
 public VkPhysicalDeviceProperties(Raw *raw)
 {
     ApiVersion        = raw->apiVersion;
     DriverVersion     = raw->driverVersion;
     VendorID          = raw->vendorID;
     DeviceID          = raw->deviceID;
     DeviceType        = raw->deviceType;
     DeviceName        = VkHelpers.ToString(raw->deviceName);
     PipelineCacheUUID = new VkUuid(raw->pipelineCacheUUID);
     Limits            = new VkPhysicalDeviceLimits(&raw->limits);
     SparseProperties  = new VkPhysicalDeviceSparseProperties(&raw->sparseProperties);
 }
Esempio n. 4
0
 public VkExtensionProperties(Raw *raw)
 {
     ExtensionName = VkHelpers.ToString(raw->extensionName);
     SpecVersion   = raw->specVersion;
 }