attribute [gl_binding]

Description

Declare the Vulkan binding location of a global shader variable.

Signature

[gl_binding(binding : int, set : int)]

Parameters

binding : int

The binding location.

set : int = 0

The descriptor set index of the binding.