Пример #1
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);
 }
Пример #2
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);
 }