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

[rlgl] Add unsigned int to rlSetUniform #4137

Closed
4 tasks done
spevnev opened this issue Jul 7, 2024 · 2 comments
Closed
4 tasks done

[rlgl] Add unsigned int to rlSetUniform #4137

spevnev opened this issue Jul 7, 2024 · 2 comments

Comments

@spevnev
Copy link

spevnev commented Jul 7, 2024

Please, before submitting a new issue verify and check:

  • I tested it on latest raylib version from master branch
  • I checked there is no similar issue already reported
  • I checked the documentation on the wiki
  • My code has no errors or misuse of raylib

Issue description

rlSetUniform doesn't provide a way to set unsigned uniform, i.e. no way to call glUniform1uiv, glUniform2uiv, glUniform3uiv, glUniform4uiv.

Environment

Computer shader with OpenGL4.3

@raysan5
Copy link
Owner

raysan5 commented Jul 9, 2024

@spevnev Is this request intended to address a specific use-case? Or is it just for completion?

@spevnev
Copy link
Author

spevnev commented Jul 9, 2024

My use-case is having uniform uint length; in compute shader. It just makes sense to have it unsigned rather than signed.

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

No branches or pull requests

2 participants