namespace Brutal.VulkanApi { /// /// VkPrimitiveTopology - Supported primitive topologies /// /// /// /// The primitive topologies defined by VkPrimitiveTopology are: /// /// /// // Provided by VK_VERSION_1_0 /// typedef enum VkPrimitiveTopology { /// VK_PRIMITIVE_TOPOLOGY_POINT_LIST = 0, /// VK_PRIMITIVE_TOPOLOGY_LINE_LIST = 1, /// VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = 2, /// VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = 3, /// VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = 4, /// VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = 5, /// VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = 6, /// VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = 7, /// VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = 8, /// VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = 9, /// VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = 10, /// } VkPrimitiveTopology; /// /// public enum VkPrimitiveTopology : int { /// /// PointList specifies a series of separate point primitives^. /// PointList = 0, /// /// LineList specifies a series of separate line primitives^. /// LineList = 1, /// /// LineStrip specifies a series of connected line primitives^ with consecutive lines sharing a vertex. /// LineStrip = 2, /// /// TriangleList specifies a series of separate triangle primitives^. /// TriangleList = 3, /// /// TriangleStrip specifies a series of connected triangle primitives^ with consecutive triangles sharing an edge. /// TriangleStrip = 4, /// /// TriangleFan specifies a series of connected triangle primitives^ with all triangles sharing a common vertex. /// TriangleFan = 5, /// /// LineListWithAdjacency specifies a series of separate line primitives with adjacency^. /// LineListWithAdjacency = 6, /// /// LineStripWithAdjacency specifies a series of connected line primitives with adjacency^, with consecutive primitives sharing three vertices. /// LineStripWithAdjacency = 7, /// /// TriangleListWithAdjacency specifies a series of separate triangle primitives with adjacency^. /// TriangleListWithAdjacency = 8, /// /// TriangleStripWithAdjacency specifies connected triangle primitives with adjacency^, with consecutive triangles sharing an edge. /// TriangleStripWithAdjacency = 9, /// /// PatchList specifies separate patch primitives^. Each primitive topology, and its construction from a list of vertices, is described in detail below with a supporting diagram, according to the following key: [cols="1,2,9"] | /// PatchList = 10, /// /// MaxEnum /// MaxEnum = 0x7FFFFFFF, } }