namespace Brutal.VulkanApi { /// /// VkCullModeFlagBits - Bitmask controlling triangle culling /// /// /// /// Once the orientation of triangles is determined, they are culled according /// to the VkPipelineRasterizationStateCreateInfo::cullMode property /// of the currently active pipeline. /// Possible values are: /// /// /// // Provided by VK_VERSION_1_0 /// typedef 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; /// /// [Flags] public enum VkCullModeFlags : int { /// /// None specifies that no triangles are discarded /// None = 0, /// /// FrontBit specifies that front-facing triangles are discarded /// FrontBit = 0x00000001, /// /// BackBit specifies that back-facing triangles are discarded /// BackBit = 0x00000002, /// /// FrontAndBack specifies that all triangles are discarded. Following culling, fragments are produced for any triangles which have not been discarded. /// FrontAndBack = 0x00000003, /// /// FlagBitsMaxEnum /// FlagBitsMaxEnum = 0x7FFFFFFF, } }