public VkLayerProperties(Raw *raw) { LayerName = VkHelpers.ToString(raw->layerName); SpecVersion = raw->specVersion; ImplementationVersion = raw->implementationVersion; Description = VkHelpers.ToString(raw->description); }
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; }
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 VkExtensionProperties(Raw *raw) { ExtensionName = VkHelpers.ToString(raw->extensionName); SpecVersion = raw->specVersion; }