numSamples
The number of samples per pixel in the GraphicsTexture.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.