Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
2D graphics module: sprites, text, shapes, ... More...
Namespaces | |
namespace | sf::Glsl |
Namespace with GLSL types. |
Classes | |
class | sf::BlendMode |
Blending modes for drawing. More... | |
class | sf::CircleShape |
Specialized shape representing a circle. More... | |
class | sf::Color |
Utility class for manipulating RGBA colors. More... | |
class | sf::ConvexShape |
Specialized shape representing a convex polygon. More... | |
class | sf::Drawable |
Abstract base class for objects that can be drawn to a render target. More... | |
class | sf::Font |
Class for loading and manipulating character fonts. More... | |
struct | sf::Glyph |
Structure describing a glyph. More... | |
class | sf::Image |
Class for loading, manipulating and saving images. More... | |
class | sf::Rect< T > |
Utility class for manipulating 2D axis aligned rectangles. More... | |
class | sf::RectangleShape |
Specialized shape representing a rectangle. More... | |
class | sf::RenderStates |
Define the states used for drawing to a RenderTarget More... | |
class | sf::RenderTarget |
Base class for all render targets (window, texture, ...) More... | |
class | sf::RenderTexture |
Target for off-screen 2D rendering into a texture. More... | |
class | sf::RenderWindow |
Window that can serve as a target for 2D drawing. More... | |
class | sf::Shader |
Shader class (vertex, geometry and fragment) More... | |
class | sf::Shape |
Base class for textured shapes with outline. More... | |
class | sf::Sprite |
Drawable representation of a texture, with its own transformations, color, etc. More... | |
class | sf::StencilMode |
Stencil modes for drawing. More... | |
class | sf::Text |
Graphical text that can be drawn to a render target. More... | |
class | sf::Texture |
Image living on the graphics card that can be used for drawing. More... | |
class | sf::Transform |
3x3 transform matrix More... | |
class | sf::Transformable |
Decomposed transform defined by a position, a rotation and a scale. More... | |
struct | sf::Vertex |
Point with color and texture coordinates. More... | |
class | sf::VertexArray |
Set of one or more 2D primitives. More... | |
class | sf::VertexBuffer |
Vertex buffer storage for one or more 2D primitives. More... | |
class | sf::View |
2D camera that defines what region is shown on screen More... |
Enumerations | |
enum class | sf::CoordinateType { sf::CoordinateType::Normalized , sf::CoordinateType::Pixels } |
Types of texture coordinates that can be used for rendering. More... | |
enum class | sf::PrimitiveType { sf::PrimitiveType::Points , sf::PrimitiveType::Lines , sf::PrimitiveType::LineStrip , sf::PrimitiveType::Triangles , sf::PrimitiveType::TriangleStrip , sf::PrimitiveType::TriangleFan } |
Types of primitives that a sf::VertexArray can render. More... |
2D graphics module: sprites, text, shapes, ...
|
strong |
Types of texture coordinates that can be used for rendering.
Enumerator | |
---|---|
Normalized | Texture coordinates in range [0 .. 1]. |
Pixels | Texture coordinates in range [0 .. size]. |
Definition at line 37 of file CoordinateType.hpp.
|
strong |
Types of primitives that a sf::VertexArray can render.
Points and lines have no area, therefore their thickness will always be 1 pixel, regardless the current transform and view.
Definition at line 38 of file PrimitiveType.hpp.