Documentation

Unity Engine

Unity Engine

sampleCount

The number of samples per pixel in this rendering configuration.
Read time 1 minuteLast updated a month ago

Definition

public int sampleCount

Remarks

Must always be 1 or more. A value greater than 1 indicates the rendering configuration is using multi-sampled anti-aliasing. See: CommandBuffer.BeginRenderPass, GraphicsStateCollection.GraphicsState.SetRenderPassData.