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); }
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); }