The primitive topologies available for rendering.
SDKs
- iOS 12.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 12.0+
Framework
- Metal
Declaration
enum MTLPrimitiveTopologyClass : UInt
The primitive topologies available for rendering.
SDKs
Framework
enum MTLPrimitiveTopologyClass : UInt
case unspecified
An unspecified primitive.
case point
A point primitive.
case line
A line primitive.
case triangle
A triangle primitive.
var sample Count: Int
The number of samples in each fragment.
var is Alpha To Coverage Enabled: Bool
Indicates whether the alpha channel fragment output for color
is read and used to compute a sample coverage mask.
var is Alpha To One Enabled: Bool
Indicates whether the alpha channel values for color
are forced to 1
, which is the largest representable value.
var is Rasterization Enabled: Bool
Determines whether primitives are rasterized.
var input Primitive Topology: MTLPrimitive Topology Class
Indicates the type of primitive topology being rendered.
var raster Sample Count: Int
The number of samples in each fragment.