namespace Brutal.VulkanApi { /// /// VkDescriptorAddressInfoEXT - Structure specifying descriptor buffer address info /// /// /// /// Data describing a VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, /// VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, /// VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, or /// VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER descriptor is passed in a /// VkDescriptorAddressInfoEXT structure: /// /// /// // Provided by VK_EXT_descriptor_buffer /// typedef struct VkDescriptorAddressInfoEXT { /// VkStructureType sType; /// void* pNext; /// VkDeviceAddress address; /// VkDeviceSize range; /// VkFormat format; /// } VkDescriptorAddressInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkDescriptorAddressInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DescriptorAddressInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Address is either `0` or a device address at an offset in a buffer, where the base address can be queried from vkGetBufferDeviceAddress. /// [FieldOffset(16)] public VkDeviceAddress Address; /// /// Range is the size in bytes of the buffer or buffer view used by the descriptor. /// [FieldOffset(24)] public ByteSize64 Range; /// /// Format is the format of the data elements in the buffer view and is ignored for buffers. /// [FieldOffset(32)] public VkFormat Format; } }