# VkDepthBiasInfoEXT(3) Manual Page

## Name

VkDepthBiasInfoEXT - Structure specifying depth bias parameters

Loading… please wait.

## C Specification

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;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `depthBiasConstantFactor` is a scalar factor controlling the constant depth value added to each fragment.

- `depthBiasClamp` is the maximum (or minimum) depth bias of a fragment.

- `depthBiasSlopeFactor` is a scalar factor applied to a fragment’s slope in depth bias calculations.

## Description

If `pNext` does not contain a VkDepthBiasRepresentationInfoEXT structure, then this command is equivalent to including a VkDepthBiasRepresentationInfoEXT with `depthBiasExact` set to `VK_FALSE` and `depthBiasRepresentation` set to `VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT`.

Valid Usage

- VUID-VkDepthBiasInfoEXT-depthBiasClamp-08950
  If the `depthBiasClamp` feature is not enabled, `depthBiasClamp` must be `0.0`

Valid Usage (Implicit)

- VUID-VkDepthBiasInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT`

- VUID-VkDepthBiasInfoEXT-pNext-pNext
  `pNext` must be `NULL` or a pointer to a valid instance of VkDepthBiasRepresentationInfoEXT

- VUID-VkDepthBiasInfoEXT-sType-unique
  The `sType` value of each structure in the `pNext` chain must be unique

## See Also

VK_EXT_depth_bias_control, VkStructureType, vkCmdSetDepthBias2EXT

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0