Type Definition evegfx::graphics::GlobalTranslation[][src]

type GlobalTranslation = Vertex2D<ForGlobalTranslate>;

Vertex type for representing the global translation offset for subsequent drawing commands.

Global translation can be used to compensate for an otherwise-limited coordinate range, or to address subpixels at a finer grain than the selected vertex format, particularly if working with Vertex2II coordinates. Translation coordinates are given in sixteenths of a pixel and have a range of -37268 to 37267 subpixels, or -2048 to 2047 whole pixels.