Documentation of SFML 2.6.2

Warning: this page refers to an old version of SFML. Click here to switch to the latest version.
Loading...
Searching...
No Matches
Deprecated List
Struct sf::Event::MouseWheelEvent
This event is deprecated and potentially inaccurate. Use MouseWheelScrollEvent instead.
Member sf::Keyboard::BackSlash
Use Backslash instead
Member sf::Keyboard::BackSpace
Use Backspace instead
Member sf::Keyboard::Dash
Use Hyphen instead
Member sf::Keyboard::Quote
Use Apostrophe instead
Member sf::Keyboard::Return
Use Enter instead
Member sf::Keyboard::SemiColon
Use Semicolon instead
Member sf::Keyboard::Tilde
Use Grave instead
Member sf::LinesStrip
Use LineStrip instead
Member sf::RenderTexture::create (unsigned int width, unsigned int height, bool depthBuffer)
Use create(unsigned int, unsigned int, const ContextSettings&) 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.
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, float x, float y)
Use setUniform(const std::string&, const Glsl::Vec2&) 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, 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, const Vector2f &vector)
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 Transform &transform)
Use setUniform(const std::string&, const Glsl::Mat4&) 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, 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