namespace Brutal.VulkanApi { /// /// VkValidationFeaturesEXT - Specify validation features to enable or disable for a Vulkan instance /// /// /// /// When creating a Vulkan instance for which you wish to enable or disable /// specific validation features, add a VkValidationFeaturesEXT structure /// to the pNext chain of the VkInstanceCreateInfo structure, /// specifying the features to be enabled or disabled. /// /// /// // Provided by VK_EXT_validation_features /// typedef struct VkValidationFeaturesEXT { /// VkStructureType sType; /// const void* pNext; /// uint32_t enabledValidationFeatureCount; /// const VkValidationFeatureEnableEXT* pEnabledValidationFeatures; /// uint32_t disabledValidationFeatureCount; /// const VkValidationFeatureDisableEXT* pDisabledValidationFeatures; /// } VkValidationFeaturesEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkValidationFeaturesEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ValidationFeaturesEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// EnabledValidationFeatureCount is the number of features to enable. /// [FieldOffset(16)] public int EnabledValidationFeatureCount; /// /// EnabledValidationFeatures is a pointer to an array of VkValidationFeatureEnableEXT values specifying the validation features to be enabled. /// [FieldOffset(24)] public VkValidationFeatureEnableEXT* EnabledValidationFeatures; /// /// DisabledValidationFeatureCount is the number of features to disable. /// [FieldOffset(32)] public int DisabledValidationFeatureCount; /// /// DisabledValidationFeatures is a pointer to an array of VkValidationFeatureDisableEXT values specifying the validation features to be disabled. /// [FieldOffset(40)] public VkValidationFeatureDisableEXT* DisabledValidationFeatures; } }