-
Advanced Member
Frequent Contributor
Setting uniform values
If I send over some values to uniforms of a given shader, then I unbind the shader. When I enable the shader again later will those uniforms still contain the values sent to them?
I hope I'm making sense.
Thanks.
-
Advanced Member
Frequent Contributor
Re: Setting uniform values
Yes, uniforms are program state.
Except for subroutine uniforms which are context state.
-
Advanced Member
Frequent Contributor
Re: Setting uniform values
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules