SFML - Simple and Fast Multimedia Library

SFML

Deprecated List
Class sf::Event::MouseWheelEvent
This event is deprecated and potentially inaccurate. Use MouseWheelScrollEvent instead.
Member sf::LinesStrip
Use LineStrip instead
Member sf::RenderWindow::capture () const
Use a sf::Texture and its sf::Texture::update(const Window&) function and copy its contents into an sf::Image instead.
1 sf::Vector2u windowSize = window.getSize();
2 sf::Texture texture;
3 texture.create(windowSize.x, windowSize.y);
4 texture.update(window);
5 sf::Image screenshot = texture.copyToImage();
Member sf::Shader::setParameter (const std::string &name, const Vector2f &vector)
Use setUniform(const std::string&, const Glsl::Vec2&) instead.
Member sf::Shader::setParameter (const std::string &name, float x, float y)
Use setUniform(const std::string&, const Glsl::Vec2&) instead.
Member sf::Shader::setParameter (const std::string &name, const Vector3f &vector)
Use setUniform(const std::string&, const Glsl::Vec3&) instead.
Member sf::Shader::setParameter (const std::string &name, const Color &color)
Use setUniform(const std::string&, const Glsl::Vec4&) instead.
Member sf::Shader::setParameter (const std::string &name, const Texture &texture)
Use setUniform(const std::string&, const Texture&) instead.
Member sf::Shader::setParameter (const std::string &name, float x, float y, float z)
Use setUniform(const std::string&, const Glsl::Vec3&) instead.
Member sf::Shader::setParameter (const std::string &name, const Transform &transform)
Use setUniform(const std::string&, const Glsl::Mat4&) instead.
Member sf::Shader::setParameter (const std::string &name, float x, float y, float z, float w)
Use setUniform(const std::string&, const Glsl::Vec4&) instead.
Member sf::Shader::setParameter (const std::string &name, float x)
Use setUniform(const std::string&, float) instead.
Member sf::Shader::setParameter (const std::string &name, CurrentTextureType)
Use setUniform(const std::string&, CurrentTextureType) instead.
Member sf::Text::getColor () const
There is now fill and outline colors instead of a single global color. Use getFillColor() or getOutlineColor() instead.
Member sf::Text::setColor (const Color &color)
There is now fill and outline colors instead of a single global color. Use setFillColor() or setOutlineColor() instead.
Member sf::TrianglesFan
Use TriangleFan instead
Member sf::TrianglesStrip
Use TriangleStrip instead