GraphicsDevice.initialize2DProjection

Undocumented in source. Be warned that the author may not have intended to support it.
  1. void initialize2DProjection(T viewportSize)
  2. void initialize2DProjection(V position, S viewportSize)
    class GraphicsDevice
    @nogc nothrow
    void
    initialize2DProjection
    (
    V
    S
    )
    (
    in ref V position
    ,
    in ref S viewportSize
    )
    if (
    is(V : vec2) ||
    is(V : ivec2) &&
    is(S : Size!int)
    ||
    is(S : Size!float)
    )

Meta