---
title: supportsRaytracing
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldevice/supportsraytracing
---

# supportsRaytracing

A Boolean value that indicates whether the GPU device supports ray tracing.

## Declaration

```swift
var supportsRaytracing: Bool { get }
```

## See Also

### Checking render support

- [supportsPrimitiveMotionBlur](metal/mtldevice/supportsprimitivemotionblur.md)
- [supportsRaytracingFromRender](metal/mtldevice/supportsraytracingfromrender.md)
- [supports32BitMSAA](metal/mtldevice/supports32bitmsaa.md)
- [supportsPullModelInterpolation](metal/mtldevice/supportspullmodelinterpolation.md)
- [supportsShaderBarycentricCoordinates](metal/mtldevice/supportsshaderbarycentriccoordinates.md)
- [supportsVertexAmplificationCount(_:)](metal/mtldevice/supportsvertexamplificationcount(_:).md)
- [areProgrammableSamplePositionsSupported](metal/mtldevice/areprogrammablesamplepositionssupported.md)
- [areRasterOrderGroupsSupported](metal/mtldevice/arerasterordergroupssupported.md)
- [areBarycentricCoordsSupported](metal/mtldevice/arebarycentriccoordssupported.md)
