namespace Brutal.VulkanApi { /// /// VkPipelineCacheHeaderVersionOne - Structure describing the layout of the pipeline cache header /// /// /// /// Version one of the pipeline cache header is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPipelineCacheHeaderVersionOne { /// uint32_t headerSize; /// VkPipelineCacheHeaderVersion headerVersion; /// uint32_t vendorID; /// uint32_t deviceID; /// uint8_t pipelineCacheUUID[VK_UUID_SIZE]; /// } VkPipelineCacheHeaderVersionOne; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkPipelineCacheHeaderVersionOne() { /// /// HeaderSize is the length in bytes of the pipeline cache header. /// [FieldOffset(0)] public int HeaderSize; /// /// HeaderVersion is a VkPipelineCacheHeaderVersion value specifying the version of the header. A consumer of the pipeline cache should use the cache version to interpret the remainder of the cache header. headerVersion must be written as exactly 4 bytes. /// [FieldOffset(4)] public VkPipelineCacheHeaderVersion HeaderVersion; /// /// VendorID is the VkPhysicalDeviceProperties::vendorID of the implementation. /// [FieldOffset(8)] public int VendorID; /// /// DeviceID is the VkPhysicalDeviceProperties::deviceID of the implementation. /// [FieldOffset(12)] public int DeviceID; /// [FieldOffset(16)] public fixed byte PipelineCacheUUID[16]; } }