I need to understand what is texture swizzling and what can be achieved by this feature?
What should happen when we pass the token TEXTURE_SWIZZLE_R to TexParameteriv ?
Swizzling means remapping.
For example, you can swap the red and green component.
Or, you can swap the red and green component and have blue and alpha set to 1.