HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Core13.Promoted_From_VK_EXT_extended_dynamic_state2

  • 1 type
  • 3 values
  • Packagevulkan-3.27
  • Exports77
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourcePromoted_From_VK_EXT_extended_dynamic_state2.hs
valuecmdSetRasterizerDiscardEnable
  1. :: MonadIO io
  2. => CommandBuffer

    commandBuffer is the command buffer into which the command will be recorded.

  3. -> "rasterizerDiscardEnable" ::: Bool

    rasterizerDiscardEnable controls whether primitives are discarded immediately before the rasterization stage.

  4. -> io ()
#

vkCmdSetRasterizerDiscardEnable - Control whether primitives are discarded before the rasterization stage dynamically for a command buffer

Description

This command sets the discard enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE set in PipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the PipelineRasterizationStateCreateInfo::rasterizerDiscardEnable value used to create the currently active pipeline.

Valid Usage

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized

  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Conditional Rendering

vkCmdSetRasterizerDiscardEnable is not affected by conditional rendering

See Also

VK_EXT_extended_dynamic_state2, VK_EXT_shader_object, VK_VERSION_1_3, Bool32, CommandBuffer

valuecmdSetDepthBiasEnable
  1. :: MonadIO io
  2. => CommandBuffer

    commandBuffer is the command buffer into which the command will be recorded.

  3. -> "depthBiasEnable" ::: Bool

    depthBiasEnable controls whether to bias fragment depth values.

  4. -> io ()
#

vkCmdSetDepthBiasEnable - Control whether to bias fragment depth values dynamically for a command buffer

Description

This command sets the depth bias enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with DYNAMIC_STATE_DEPTH_BIAS_ENABLE set in PipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the PipelineRasterizationStateCreateInfo::depthBiasEnable value used to create the currently active pipeline.

Valid Usage

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized

  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Conditional Rendering

vkCmdSetDepthBiasEnable is not affected by conditional rendering

See Also

VK_EXT_extended_dynamic_state2, VK_EXT_shader_object, VK_VERSION_1_3, Bool32, CommandBuffer

valuecmdSetPrimitiveRestartEnable
  1. :: MonadIO io
  2. => CommandBuffer

    commandBuffer is the command buffer into which the command will be recorded.

  3. -> "primitiveRestartEnable" ::: Bool

    primitiveRestartEnable controls whether a special vertex index value is treated as restarting the assembly of primitives. It behaves in the same way as PipelineInputAssemblyStateCreateInfo::primitiveRestartEnable

  4. -> io ()
#

vkCmdSetPrimitiveRestartEnable - Set primitive assembly restart state dynamically for a command buffer

Description

This command sets the primitive restart enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE set in PipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the PipelineInputAssemblyStateCreateInfo::primitiveRestartEnable value used to create the currently active pipeline.

Valid Usage

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized

  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Conditional Rendering

vkCmdSetPrimitiveRestartEnable is not affected by conditional rendering

See Also

VK_EXT_extended_dynamic_state2, VK_EXT_shader_object, VK_VERSION_1_3, Bool32, CommandBuffer

newtypenewtype DynamicState
#

VkDynamicState - Indicate which dynamic state is taken from dynamic state commands

Description

See Also

VK_VERSION_1_0, PipelineDynamicStateCreateInfo

Constructors

Instances6Eq, Ord, Read, Show, Storable, Zero