GpuUVec4¶
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 shader entry points and helpers reached from them; using them elsewhere is a compile error.
GpuUVec4¶
A vector of four uints, laid out like a GPU uint4. subgroup_ballot returns one bit per subgroup lane in it, lane 0 in the lowest bit of x.
x¶
The first component.
y¶
The second component.
z¶
The third component.
w¶
The fourth component.
constructor¶
Creates the vector (x, y, z, w).