namespace Brutal.VulkanApi { /// /// VkPushConstantsInfo - Structure specifying a push constant update operation /// /// /// /// :refpage: VkPushConstantsInfo /// /// /// The VkPushConstantsInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_4 /// typedef struct VkPushConstantsInfo { /// VkStructureType sType; /// const void* pNext; /// VkPipelineLayout layout; /// VkShaderStageFlags stageFlags; /// uint32_t offset; /// uint32_t size; /// const void* pValues; /// } VkPushConstantsInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkPushConstantsInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PushConstantsInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Layout is the pipeline layout used to program the push constant updates. /// [FieldOffset(16)] public VkPipelineLayout Layout; /// /// StageFlags is a bitmask of VkShaderStageFlags specifying the shader stages that will use the push constants in the updated range. /// [FieldOffset(24)] public VkShaderStageFlags StageFlags; /// /// Offset is the start offset of the push constant range to update, in units of bytes. /// [FieldOffset(28)] public int Offset; /// /// Size is the size of the push constant range to update, in units of bytes. /// [FieldOffset(32)] public int Size; /// /// Values is a pointer to an array of size bytes containing the new push constant values. /// [FieldOffset(40)] public void* Values; } }