namespace Brutal.VulkanApi { /// /// VkPolygonMode - Control polygon rasterization mode /// /// /// /// Possible values of the /// VkPipelineRasterizationStateCreateInfo::polygonMode property of /// the currently active pipeline, specifying the method of rasterization for /// polygons, are: /// /// /// // Provided by VK_VERSION_1_0 /// typedef enum VkPolygonMode { /// VK_POLYGON_MODE_FILL = 0, /// VK_POLYGON_MODE_LINE = 1, /// VK_POLYGON_MODE_POINT = 2, /// // Provided by VK_NV_fill_rectangle /// VK_POLYGON_MODE_FILL_RECTANGLE_NV = 1000153000, /// } VkPolygonMode; /// /// public enum VkPolygonMode : int { /// /// Fill specifies that polygons are rendered using the polygon rasterization rules in this section. These modes affect only the final rasterization of polygons: in particular, a polygon's vertices are shaded and the polygon is clipped and possibly culled before these modes are applied. The point size of the final rasterization of polygons when polygon mode^ is VK_POLYGON_MODE_POINT is implementation-dependent, and the point size may: either be PointSize or 1.0. /// Fill = 0, /// /// Line specifies that polygon edges are drawn as line segments. /// Line = 1, /// /// Point specifies that polygon vertices are drawn as points. /// Point = 2, /// /// FillRectangleNV /// FillRectangleNV = 1000153000, /// /// MaxEnum /// MaxEnum = 0x7FFFFFFF, } }