libscratchcpp
A library for C++ based Scratch project players
Loading...
Searching...
No Matches
igraphicseffect.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2
3#pragma once
4
5#include <string>
6
7#include "global.h"
8
9namespace libscratchcpp
10{
11
14{
15 public:
16 virtual ~IGraphicsEffect() { }
17
19 virtual std::string name() const = 0;
20
22 virtual double clamp(double value) const = 0;
23};
24
25} // namespace libscratchcpp
The IGraphicsEffects class is an interface for custom graphics effects.
Definition igraphicseffect.h:14
virtual ~IGraphicsEffect()
Definition igraphicseffect.h:16
virtual std::string name() const =0
virtual double clamp(double value) const =0
#define LIBSCRATCHCPP_EXPORT
Definition global.h:17
The main namespace of the library.
Definition asset.h:10