msaaSamples
Get the requested MSAA sample count of the screen buffer.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static int msaaSamples { get; }
Remarks
Gets the sample count last requested by Screen.SetMSAASamples. This value might be different from the actual sample count that Unity uses for the render target during this frame, since Unity does not update the number of samples immediately. Depending on when in the frame you access this property, it might return the sample count of the current frame or the next frame. If the graphics API does not support the value provided, it uses the next highest supported value.