文档

Unity Engine


Unity Engine


numSamples

The number of samples per pixel in the GraphicsTexture.
阅读时间1 分钟最后更新于 1 个月前

Definition

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.