namespace Brutal.VulkanApi { /// /// VkWriteDescriptorSetInlineUniformBlock - Structure specifying inline uniform block data /// /// /// /// If the descriptorType member of VkWriteDescriptorSet is /// VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK then the data to write to the /// descriptor set is specified through a /// VkWriteDescriptorSetInlineUniformBlock structure included in the /// pNext chain of VkWriteDescriptorSet. /// /// /// The VkWriteDescriptorSetInlineUniformBlock structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkWriteDescriptorSetInlineUniformBlock { /// VkStructureType sType; /// const void* pNext; /// uint32_t dataSize; /// const void* pData; /// } VkWriteDescriptorSetInlineUniformBlock; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkWriteDescriptorSetInlineUniformBlock() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.WriteDescriptorSetInlineUniformBlock; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DataSize is the number of bytes of inline uniform block data pointed to by pData. /// [FieldOffset(16)] public int DataSize; /// /// Data is a pointer to dataSize number of bytes of data to write to the inline uniform block. /// [FieldOffset(24)] public void* Data; } }