Created
July 6, 2015 15:22
-
-
Save yorung/bad5644c275f5fc6c5dc to your computer and use it in GitHub Desktop.
How to query attribute location
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GLint positionIndex = glGetAttribLocation(program, "position"); | |
| GLint normalIndex = glGetAttribLocation(program, "normal"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment