Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The width of the line in iOS Metal can be set using the lineWidth property of the MTLRenderPipelineState object. The default value is 1.0 pixel. However, the actual width may vary depending on the rendering context and the device's display resolution.