Drawable(const Vector2f &Position=Vector2f(0, 0), const Vector2f &Scale=Vector2f(1, 1), float Rotation=0.f, const Color &Col=Color(255, 255, 255, 255))
Default constructor.
void SetParameter(const std::string &Name, float X, float Y, float Z)
Change a parameter of the effect (3 floats).
bool LoadFromFile(const std::string &Filename)
Load the effect from a file.
void SetParameter(const std::string &Name, float X, float Y, float Z, float W)
Change a parameter of the effect (4 floats).
void SetTexture(const std::string &Name, Image *Texture)
Set a texture parameter.
void SetParameter(const std::string &Name, float X)
Change a parameter of the effect (1 float).
PostFX(const PostFX &Copy)
Copy constructor.
bool LoadFromMemory(const std::string &Effect)
Load the effect from a text in memory.
virtual void Render(RenderTarget &Target) const
/see Drawable::Render
static bool CanUsePostFX()
Tell whether or not the system supports post-effects.
void SetParameter(const std::string &Name, float X, float Y)
Change a parameter of the effect (2 floats).