Texture:getSampleCount

Edit

Returns the number of samples in the texture. Multiple samples are used for multisample antialiasing when rendering to the texture. Currently, the sample count is either 1 (not antialiased) or 4 (antialiased).

samples = Texture:getSampleCount()

Arguments

None

Returns

NameTypeDescription
samplesnumber The number of samples in the Texture.

See also