Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class EXTDepthBiasControl

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

This extension adds a new structure, VkDepthBiasRepresentationInfoEXT, that can be added to a pNext chain of VkPipelineRasterizationStateCreateInfo and allows setting the scaling and representation of depth bias for a pipeline.

This state can also be set dynamically by using the new structure mentioned above in combination with the new vkCmdSetDepthBias2EXT command.

VK_EXT_depth_bias_control
Name String
VK_EXT_depth_bias_control
Extension Type
Device extension
Registered Extension Number
284
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2
Special Use
Contact
Extension Proposal
VK_EXT_depth_bias_control
Other Extension Metadata
Last Modified Date
2023-02-15
IP Status
No known IP claims.
Contributors
  • Joshua Ashton, VALVE
  • Hans-Kristian Arntzen, VALVE
  • Mike Blumenkrantz, VALVE
  • Georg Lehmann, VALVE
  • Piers Daniell, NVIDIA
  • Lionel Landwerlin, INTEL
  • Tobias Hector, AMD
  • Ricardo Garcia, IGALIA
  • Jan-Harald Fredriksen, ARM
  • Shahbaz Youssefi, GOOGLE
  • Tom Olson, ARM

Field Summary

Modifier and TypeField and Description
public static final int
VK_DEPTH_BIAS_REPRESENTATION_FLOAT_EXT

VkDepthBiasRepresentationEXT - Specify the depth bias representation Description

public static final int
VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT

VkDepthBiasRepresentationEXT - Specify the depth bias representation Description

public static final int
VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT

VkDepthBiasRepresentationEXT - Specify the depth bias representation Description

public static final String
public static final int
VK_EXT_DEPTH_BIAS_CONTROL_SPEC_VERSION

The extension specification version.

public static final int
VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT

Extends VkStructureType.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
nvkCmdSetDepthBias2EXT(VkCommandBuffer commandBuffer, long pDepthBiasInfo)

Unsafe version of: CmdSetDepthBias2EXT

public static void
vkCmdSetDepthBias2EXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
VkDepthBiasInfoEXT
a pointer to a VkDepthBiasInfoEXT structure specifying depth bias parameters.
pDepthBiasInfo
)

Set depth bias factors and clamp dynamically for a command buffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_DEPTH_BIAS_REPRESENTATION_FLOAT_EXTback to summary
public static final int VK_DEPTH_BIAS_REPRESENTATION_FLOAT_EXT

VkDepthBiasRepresentationEXT - Specify the depth bias representation

Description
See Also

VkDepthBiasRepresentationInfoEXT

VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXTback to summary
public static final int VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT

VkDepthBiasRepresentationEXT - Specify the depth bias representation

Description
See Also

VkDepthBiasRepresentationInfoEXT

VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXTback to summary
public static final int VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT

VkDepthBiasRepresentationEXT - Specify the depth bias representation

Description
See Also

VkDepthBiasRepresentationInfoEXT

VK_EXT_DEPTH_BIAS_CONTROL_EXTENSION_NAMEback to summary
public static final String VK_EXT_DEPTH_BIAS_CONTROL_EXTENSION_NAME

The extension name.

VK_EXT_DEPTH_BIAS_CONTROL_SPEC_VERSIONback to summary
public static final int VK_EXT_DEPTH_BIAS_CONTROL_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXTback to summary
public static final int VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_DEPTH_BIAS_REPRESENTATION_INFO_EXTback to summary
public static final int VK_STRUCTURE_TYPE_DEPTH_BIAS_REPRESENTATION_INFO_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXTback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT

Extends VkStructureType.

Enum values:

Constructor Detail

EXTDepthBiasControlback to summary
protected EXTDepthBiasControl()

Method Detail

nvkCmdSetDepthBias2EXTback to summary
public static void nvkCmdSetDepthBias2EXT(VkCommandBuffer commandBuffer, long pDepthBiasInfo)

Unsafe version of: CmdSetDepthBias2EXT

vkCmdSetDepthBias2EXTback to summary
public static void vkCmdSetDepthBias2EXT(VkCommandBuffer commandBuffer, VkDepthBiasInfoEXT pDepthBiasInfo)

Set depth bias factors and clamp dynamically for a command buffer.

C Specification

To dynamically set the depth bias parameters, call:


void vkCmdSetDepthBias2EXT(
    VkCommandBuffer                             commandBuffer,
    const VkDepthBiasInfoEXT*                   pDepthBiasInfo);
Description

This command is functionally identical to CmdSetDepthBias, but includes extensible sub-structures that include sType and pNext parameters, allowing them to be more easily extended.

Valid Usage (Implicit)
  • commandBuffer must be a valid VkCommandBuffer handle
  • pDepthBiasInfo must be a valid pointer to a valid VkDepthBiasInfoEXT structure
  • commandBuffer must be in the recording state
  • The VkCommandPool that commandBuffer was allocated from must support graphics operations
  • This command must only be called outside of a video coding scope
Host Synchronization
  • Host access to commandBuffer must be externally synchronized
  • Host access to the VkCommandPool that commandBuffer was allocated from must be externally synchronized
Command Properties
Command Buffer LevelsRender Pass ScopeVideo Coding ScopeSupported Queue TypesCommand Type
Primary SecondaryBothOutsideGraphicsState
See Also

VkDepthBiasInfoEXT

Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

pDepthBiasInfo:VkDepthBiasInfoEXT

a pointer to a VkDepthBiasInfoEXT structure specifying depth bias parameters.