GpuIVec2¶
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.
GpuIVec2¶
A vector of two ints, laid out like a GPU int2, for pixel coordinates and 2D sizes.
x¶
The first component.
y¶
The second component.
constructor¶
Creates the vector (x, y).