#define SFML_GRAPHICS_API
Definition Export.hpp:42
Shader class (vertex, geometry and fragment).
Definition Shader.hpp:54
Image living on the graphics card that can be used for drawing.
Definition Texture.hpp:56
Definition BlendMode.hpp:34
CoordinateType
Types of texture coordinates that can be used for rendering.
Definition CoordinateType.hpp:38
@ Pixels
Texture coordinates in range [0 .. size].
Definition CoordinateType.hpp:40
SFML_GRAPHICS_API const BlendMode BlendAlpha
Blend source and dest according to dest alpha.
Blending modes for drawing.
Definition BlendMode.hpp:41
RenderStates()=default
Default constructor.
Transform transform
Transform.
Definition RenderStates.hpp:133
RenderStates(const Shader *theShader)
Construct a default set of render states with a custom shader.
RenderStates(const Transform &theTransform)
Construct a default set of render states with a custom transform.
const Texture * texture
Texture.
Definition RenderStates.hpp:135
RenderStates(const BlendMode &theBlendMode, const StencilMode &theStencilMode, const Transform &theTransform, CoordinateType theCoordinateType, const Texture *theTexture, const Shader *theShader)
Construct a set of render states with all its attributes.
CoordinateType coordinateType
Texture coordinate type.
Definition RenderStates.hpp:134
RenderStates(const Texture *theTexture)
Construct a default set of render states with a custom texture.
StencilMode stencilMode
Stencil mode.
Definition RenderStates.hpp:132
RenderStates(const BlendMode &theBlendMode)
Construct a default set of render states with a custom blend mode.
static const RenderStates Default
Special instance holding the default render states.
Definition RenderStates.hpp:126
const Shader * shader
Shader.
Definition RenderStates.hpp:136
BlendMode blendMode
Blending mode.
Definition RenderStates.hpp:131
RenderStates(const StencilMode &theStencilMode)
Construct a default set of render states with a custom stencil mode.
Stencil modes for drawing.
Definition StencilMode.hpp:107