textureSamples

From OpenGL Reference
Jump to navigation Jump to search

Return the number of samples of a texture.

Declaration[edit]

int textureSamples( gsampler2DMS sampler );
int textureSamples( gsampler2DMSArray sampler );


Parameters[edit]

sampler - Specifies the sampler to which the texture is bound.


Description[edit]

 textureSamples returns the number of samples per texel of the texture bound to sampler .


Version Support[edit]

textureSamples 4.5+

See Also[edit]

 texture , textureQueryLevels , textureQueryLod , textureSize 


Copyright[edit]

Copyright© 2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.