Skip to main content

image_binding

Function image_binding 

Source
pub fn image_binding(index: usize) -> u32
Expand description

Which binding number the indexth texture a program declares occupies.

Zero for the first, so that everything written before several textures existed keeps its binding; then two upward, the sampler holding one.