GpuBindingSlot¶
Import: import system.gpu;
This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation. Shader-only declarations can be used only inside @compute, @vertex, @fragment, inferred helpers and ray tracing shader functions; using them elsewhere is a compile error.
GpuBindingSlot¶
One resource parameter of a render shader, such as the texture a fragment shader samples. The shader generator exposes each as GpuShaders.<shader>.<parameter>; pass it to GpuRenderPass.bind to choose the resource the next draws use.
name¶
The parameter's name.
stage¶
The stage of the shader that declares the parameter.