Why does VK_CULL_MODE_FRONT_AND_BACK exist?

When specifying cullMode in struct VkPipelineRasterizationStateCreateInfo, there is the flag VK_CULL_MODE_FRONT_AND_BACK which can be specified.

  • What could be a use case for culling front and back ?
  • In how far is this different from rasterizerDiscardEnable in VkPipelineRasterizationStateCreateInfo ?

Thanks
Johannes

VK_CULL_MODE_FRONT_AND_BACK culls only triangles. rasterizerDiscardEnable disables all rasterization.

1 Like

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.