GpuStage¶
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.
GpuStage¶
The pipeline stage a shader runs in, as given by its attribute.
Compute¶
A @compute shader.
Vertex¶
A @vertex shader.
Fragment¶
A @fragment shader.
RayGeneration¶
A @ray_generation shader.
ClosestHit¶
A @closest_hit shader.
AnyHit¶
An @any_hit shader.
Miss¶
A @miss shader.
Intersection¶
An @intersection shader.
Callable¶
A @callable shader.