Searched refs:dirOrPos (Results 1 – 2 of 2) sorted by relevance
32 SkVector3 dirOrPos; in MakeFromBuffer() local33 if (!buf.readScalarArray(&dirOrPos.fX, 3)) { in MakeFromBuffer()40 Light light = Light::MakePoint(color, dirOrPos, intensity); in MakeFromBuffer()43 Light light = Light::MakeDirectional(color, dirOrPos); in MakeFromBuffer()
95 Light(LightType type, const SkColor3f& color, const SkVector3& dirOrPos, in Light() argument99 , fDirOrPos(dirOrPos) in Light()