namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceProperties - Structure specifying physical device properties /// /// /// /// The VkPhysicalDeviceProperties structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPhysicalDeviceProperties { /// uint32_t apiVersion; /// uint32_t driverVersion; /// uint32_t vendorID; /// uint32_t deviceID; /// VkPhysicalDeviceType deviceType; /// char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]; /// uint8_t pipelineCacheUUID[VK_UUID_SIZE]; /// VkPhysicalDeviceLimits limits; /// VkPhysicalDeviceSparseProperties sparseProperties; /// } VkPhysicalDeviceProperties; /// /// [StructLayout(LayoutKind.Explicit, Size = 824)] public unsafe partial struct VkPhysicalDeviceProperties() { /// /// ApiVersion is the version of Vulkan supported by the device, encoded as described in here. /// [FieldOffset(0)] public int ApiVersion; /// /// DriverVersion is the vendor-specified version of the driver. /// [FieldOffset(4)] public int DriverVersion; /// /// VendorID is a unique identifier for the vendor (see below) of the physical device. /// [FieldOffset(8)] public int VendorID; /// /// DeviceID is a unique identifier for the physical device among devices available from the vendor. /// [FieldOffset(12)] public int DeviceID; /// /// DeviceType is a VkPhysicalDeviceType specifying the type of device. /// [FieldOffset(16)] public VkPhysicalDeviceType DeviceType; /// [FieldOffset(20)] public fixed byte DeviceName[256]; /// [FieldOffset(276)] public fixed byte PipelineCacheUUID[16]; /// /// Limits is the VkPhysicalDeviceLimits structure specifying device-specific limits of the physical device. See Limits^ for details. /// [FieldOffset(296)] public VkPhysicalDeviceLimits Limits; /// /// SparseProperties is the VkPhysicalDeviceSparseProperties structure specifying various sparse related properties of the physical device. See Sparse Properties^ for details. /// [FieldOffset(800)] public VkPhysicalDeviceSparseProperties SparseProperties; } }