void onDraw(const int loops, SkCanvas* canvas) override { draw(loops, canvas, SkLightingImageFilter::CreateDistantLitSpecular(GetDistantDirection(), GetWhite(), GetSurfaceScale(), GetKs(), GetShininess())); }
void onDraw(int loops, SkCanvas* canvas) override { draw(loops, canvas, SkLightingImageFilter::CreatePointLitSpecular(GetPointLocation(), GetWhite(), GetSurfaceScale(), GetKs(), GetShininess())); }
void onDraw(const int loops, SkCanvas* canvas) override { draw(loops, canvas, SkLightingImageFilter::CreateSpotLitDiffuse(GetSpotLocation(), GetSpotTarget(), GetSpotExponent(), GetCutoffAngle(), GetWhite(), GetSurfaceScale(), GetKd())); }
void onDraw(int loops, SkCanvas* canvas) override { draw(loops, canvas, SkLightingImageFilter::CreateSpotLitSpecular(GetSpotLocation(), GetSpotTarget(), GetSpotExponent(), GetCutoffAngle(), GetWhite(), GetSurfaceScale(), GetKs(), GetShininess())); }
void onDraw(const int loops, SkCanvas* canvas) override { draw(loops, canvas, SkLightingImageFilter::CreateDistantLitDiffuse(GetDistantDirection(), GetWhite(), GetSurfaceScale(), GetKd())); }
void onDraw(int loops, SkCanvas* canvas) override { draw(loops, canvas, SkLightingImageFilter::CreatePointLitDiffuse(GetPointLocation(), GetWhite(), GetSurfaceScale(), GetKd())); }