namespace Brutal.VulkanApi { /// /// VkDepthBiasInfoEXT - Structure specifying depth bias parameters /// /// /// /// :refpage: VkDepthBiasInfoEXT /// /// /// The VkDepthBiasInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_depth_bias_control /// typedef struct VkDepthBiasInfoEXT { /// VkStructureType sType; /// const void* pNext; /// float depthBiasConstantFactor; /// float depthBiasClamp; /// float depthBiasSlopeFactor; /// } VkDepthBiasInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkDepthBiasInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DepthBiasInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DepthBiasConstantFactor is a scalar factor controlling the constant depth value added to each fragment. /// [FieldOffset(16)] public float DepthBiasConstantFactor; /// /// DepthBiasClamp is the maximum (or minimum) depth bias of a fragment. /// [FieldOffset(20)] public float DepthBiasClamp; /// /// DepthBiasSlopeFactor is a scalar factor applied to a fragment's slope in depth bias calculations. /// [FieldOffset(24)] public float DepthBiasSlopeFactor; } }