Pass:getSampleCount

Returns the antialiasing setting of a render pass.

samples = Pass:getSampleCount()

Arguments

None

Returns

NameTypeDescription
samplesnumber The number of samples used for rendering. Currently, will be 1 or 4.

See also