RenderTextureSubElement
Types of data that you can encapsulate within a render texture.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public enum RenderTextureSubElement
Remarks
An enum that allows you to specify access to the different types of data that may be encapsulated within the RenderTexture. These are broadly aligned with the different types of surfaces that the underlying graphics API that Unity associates with the RenderTexture creates.
Fields
Value | Description |
|---|---|
| Color | Color element of a RenderTexture. |
| Default | The Default element of a RenderTexture. |
| Depth | The depth element of a RenderTexture. |
| ShadingRate | The shading rate image element of a RenderTexture. |
| Stencil | The stencil element of a RenderTexture. |