# StencilSampling

> Use this to create and render to the Stencil sub element of a RenderTexture.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Experimental.Rendering](/engine/6000.6/script-reference/unityengine/experimental/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
StencilSampling = 65536
```
