antiAliasing
The antialiasing level for the RenderTexture.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int antiAliasing { get; set; }
Remarks
Anti-aliasing value indicates the number of samples per pixel. The value can be , , or . If unsupported by the hardware or rendering API, the greatest supported number of samples less than the indicated number is used.
1248When a RenderTexture is using anti-aliasing, then any rendering into it will happen into the multi-sampled texture, which will be "resolved" into a regular texture when switching to another render target. To the rest of the system only this "resolved" surface is visible.