FESpecularLighting.h [plain text]
#ifndef FESpecularLighting_h
#define FESpecularLighting_h
#include "FELighting.h"
namespace WebCore {
class FESpecularLighting : public FELighting {
public:
static Ref<FESpecularLighting> create(Filter&, const Color&, float, float, float, float, float, Ref<LightSource>&&);
virtual ~FESpecularLighting();
const Color& lightingColor() const;
bool setLightingColor(const Color&);
float surfaceScale() const;
bool setSurfaceScale(float);
float specularConstant() const;
bool setSpecularConstant(float);
float specularExponent() const;
bool setSpecularExponent(float);
float kernelUnitLengthX() const;
bool setKernelUnitLengthX(float);
float kernelUnitLengthY() const;
bool setKernelUnitLengthY(float);
const LightSource& lightSource() const;
void dump() override;
TextStream& externalRepresentation(TextStream&, int indention) const override;
private:
FESpecularLighting(Filter&, const Color&, float, float, float, float, float, Ref<LightSource>&&);
};
}
#endif // FESpecularLighting_h