---
title: frontFaceStencil
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldepthstencildescriptor/frontfacestencil
---

# frontFaceStencil

The stencil descriptor for front-facing primitives.

## Declaration

```swift
@NSCopying var frontFaceStencil: MTLStencilDescriptor! { get set }
```

## Discussion

Discussion The default value is nil, which indicates the stencil test is disabled for the front-facing primitives. For more information, see MTLStencilDescriptor.

## See Also

### Specifying stencil descriptors for primitives

- [backFaceStencil](metal/mtldepthstencildescriptor/backfacestencil.md)
