wisdom
Loading...
Searching...
No Matches
WisTopologyType Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef enum WisTopologyType {
WisTopologyTypePoint = 1,
WisTopologyTypeLine = 2,
WisTopologyTypeTriangle = 3,
WisTopologyTypePatch = 4,

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
enum class TopologyType {
Point = 1,
Line = 2,
Triangle = 3,
Patch = 4,
};
}

Description


Primitive topology type for WisGraphicsPipelineDesc.

Note
Translates to D3D12_PRIMITIVE_TOPOLOGY_TYPE for DirectX 12 implementation, and VkPrimitiveTopology for Vulkan implementation.

Values:

  • WisTopologyTypePoint = 1: Render points for each vertex.
  • WisTopologyTypeLine = 2: Render lines between vertices.
  • WisTopologyTypeTriangle = 3: Render triangles between vertices.
  • WisTopologyTypePatch = 4: Vertices are interpret as patch list. Used in tessellation process.

See Also


See also
Structs: WisGraphicsPipelineDesc