Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate uniform update types #2

Open
NotAPenguin0 opened this issue Jul 7, 2022 · 1 comment
Open

validate uniform update types #2

NotAPenguin0 opened this issue Jul 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@NotAPenguin0
Copy link
Collaborator

check if the correct glUniform* overload was used to update the current variable (if this is at all possible)

@NotAPenguin0 NotAPenguin0 added the enhancement New feature or request label Jul 7, 2022
@JuanDiegoMontoya
Copy link

We can use glGetActiveUniform to check the data type. This post shows a way to iterate over all of the active uniforms and store a map containing uniform info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants