29 #ifndef THOR_UNIFORMACCESS_HPP
30 #define THOR_UNIFORMACCESS_HPP
34 #include <SFML/Graphics/Color.hpp>
48 void setColor(T&
object,
const sf::Color& color);
52 void THOR_API
setColor(Particle& particle,
const sf::Color& color);
57 void setAlpha(T&
object, sf::Uint8 alpha);
61 void THOR_API
setAlpha(Particle& particle, sf::Uint8 alpha);
67 #include <Thor/Graphics/Detail/UniformAccess.inl>
68 #endif // THOR_UNIFORMACCESS_HPP
void setColor(Particle &particle, const sf::Color &color)
Sets the color of a particle.
Definition: AnimationMap.hpp:42
Configuration header of the library.
void setAlpha(Particle &particle, sf::Uint8 alpha)
Sets the alpha color value of a particle.