namespace Brutal.VulkanApi { /// /// VkShaderInstrumentationMetricDataHeaderARM - Structure describing the header of a metric block /// /// /// /// The shader instrumentation metrics block header is defined as: /// /// /// // Provided by VK_ARM_shader_instrumentation /// typedef struct VkShaderInstrumentationMetricDataHeaderARM { /// uint32_t resultIndex; /// uint32_t resultSubIndex; /// VkShaderStageFlags stages; /// uint32_t basicBlockIndex; /// } VkShaderInstrumentationMetricDataHeaderARM; /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct VkShaderInstrumentationMetricDataHeaderARM() { /// /// ResultIndex is the result index of the metric block, as captured when the command was recorded. /// [FieldOffset(0)] public int ResultIndex; /// /// ResultSubIndex is a secondary index with the result index, explained further below. /// [FieldOffset(4)] public int ResultSubIndex; /// /// Stages is a bitfield of VkShaderStageFlags describing the shader stages that the metric block is for. /// [FieldOffset(8)] public VkShaderStageFlags Stages; /// /// BasicBlockIndex is the index of the basic block within the shader that the metric block is for. /// [FieldOffset(12)] public int BasicBlockIndex; } }