numSamples
The number of samples per pixel in the GraphicsTexture.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int numSamples
Remarks
Must always be 1 or more. A value greater than 1 indicates that the GraphicsTexture is using multi-sampled anti-aliasing, which requires GraphicsTextureDescriptorFlags.RenderTarget to be set. Anti-aliasing is not compatible with GraphicsTextureDescriptorFlags.RandomWriteTarget.