--- layout: stdlib-reference --- # attribute [vk::binding] ## Description Declare the Vulkan binding location of a global shader variable. ## Signature
[vk::binding(binding : int, set : int)]
## Parameters #### binding : int The binding location. #### set : int = 0 The descriptor set index of the binding.