Texture:getSampleCount
EditReturns 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
Name | Type | Description |
samples | number | The number of samples in the Texture. |