namespace Brutal.VulkanApi { /// /// VkPushConstantRange - Structure specifying a push constant range /// /// /// /// The VkPushConstantRange structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPushConstantRange { /// VkShaderStageFlags stageFlags; /// uint32_t offset; /// uint32_t size; /// } VkPushConstantRange; /// /// [StructLayout(LayoutKind.Explicit, Size = 12)] public partial struct VkPushConstantRange() { /// /// StageFlags is a set of stage flags describing the shader stages that will access a range of push constants. If a particular stage is not included in the range, then accessing members of that range of push constants from the corresponding shader stage will return undefined: values. /// [FieldOffset(0)] public VkShaderStageFlags StageFlags; /// /// Offset and size are the start offset and size, respectively, consumed by the range. Both offset and size are in units of bytes and must be a multiple of 4. The layout of the push constant variables is specified in the shader. /// [FieldOffset(4)] public ByteSize32 Offset; /// /// Size /// [FieldOffset(8)] public ByteSize32 Size; } }