Ivec4

4D int vector ( ivec4 in GLSL)

4D int vectors can be converted from sf::Color instances. Each color channel remains unchanged inside the integer interval [0, 255].

  • test
  • Ivec4 zeroVector;
    auto vector = Ivec4(1, 2, 3, 4);
    auto color = Ivec4(Color.Cyan);
    alias Ivec4 = Vector4!(int)

    Meta