You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #2834 on July 07, 2022 04:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
bgfx::UniformInfo doesn't contain sampler's binding index(stage).
bgfx::setTexture needs to set stage patameter.
if i have dynamic sampler nums in shader depend on shader define, i have to get binding index parameter so that i can set right stage value to shader.
How can i get sampler's binding index form shader if i want to set sampler uniforms automatic?
Beta Was this translation helpful? Give feedback.
All reactions