Timeline for Texture units parameters in OpenGL
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2018 at 19:49 | vote | accept | Drinkwater | ||
Jul 24, 2018 at 16:58 | comment | added | Nicol Bolas | Yes. That's how all functions that set state into OpenGL objects work. | |
Jul 24, 2018 at 16:29 | comment | added | Drinkwater |
This means that when I set parameters for GL_TEXTURE_2D with glTexParameter while e.g. GL_TEXTURE0 unit is active, I'm actually setting the parameter for the texture object currently bound in GL_TEXTURE0 's GL_TEXTURE_2D ''slot". And these parameters will remain in effect if I bind the same texture object to another texture unit. Correct?
|
|
Jul 23, 2018 at 15:38 | history | answered | Nicol Bolas | CC BY-SA 4.0 |