VkCullModeFlagBits(3)
C Specification
Once the orientation of triangles is determined, they are culled accordingto theVkPipelineRasterizationStateCreateInfo::cullMode propertyof the currently active pipeline.Possible values are:
// Provided by VK_VERSION_1_0typedef enum VkCullModeFlagBits { VK_CULL_MODE_NONE = 0, VK_CULL_MODE_FRONT_BIT = 0x00000001, VK_CULL_MODE_BACK_BIT = 0x00000002, VK_CULL_MODE_FRONT_AND_BACK = 0x00000003,} VkCullModeFlagBits;Description
VK_CULL_MODE_NONE specifies that no triangles are discarded
VK_CULL_MODE_FRONT_BIT specifies that front-facing triangles arediscarded
VK_CULL_MODE_BACK_BIT specifies that back-facing triangles arediscarded
VK_CULL_MODE_FRONT_AND_BACK specifies that all triangles arediscarded.
Following culling, fragments are produced for any triangles which have notbeen discarded.
Document Notes
For more information, see theVulkan Specification.
This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.