namespace Brutal.VulkanApi { /// /// VkDescriptorBufferInfo - Structure specifying descriptor buffer information /// /// /// /// The VkDescriptorBufferInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkDescriptorBufferInfo { /// VkBuffer buffer; /// VkDeviceSize offset; /// VkDeviceSize range; /// } VkDescriptorBufferInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public partial struct VkDescriptorBufferInfo() { /// /// Buffer is the buffer resource. /// [FieldOffset(0)] public VkBuffer Buffer; /// /// Offset is the offset in bytes from the start of buffer. Access to buffer memory via this descriptor uses addressing that is relative to this starting offset. /// [FieldOffset(8)] public ByteSize64 Offset; /// /// Range is the size in bytes that is used for this descriptor update, or VK_WHOLE_SIZE to use the range from offset to the end of the buffer. + [NOTE] /// [FieldOffset(16)] public ByteSize64 Range; } }