Lines Matching refs:Light
26 class Light {
33 Light(const Light& other) in Light() function
39 Light(Light&& other) in Light() function
45 static Light MakeDirectional(const SkColor3f& color, const SkVector3& dir) { in MakeDirectional()
46 Light light(kDirectional_LightType, color, dir, 0.0f); in MakeDirectional()
53 static Light MakePoint(const SkColor3f& color, const SkPoint3& pos, SkScalar intensity) { in MakePoint()
54 return Light(kPoint_LightType, color, pos, intensity); in MakePoint()
72 Light& operator=(const Light& other) {
84 bool operator==(const Light& other) {
91 bool operator!=(const Light& other) { return !(this->operator==(other)); }
96 Light(LightType type, const SkColor3f& color, const SkVector3& dirOrPos, in Light() function
119 void add(const Light& light) { in add()
125 void add(Light&& light) { in add()
156 const Light& light(int index) const { return fLights[index]; } in light()
189 SkTArray<Light> fLights;