Lines Matching refs:light
41 Light light = Light::MakePoint(color, dirOrPos, intensity); in MakeFromBuffer() local
42 builder.add(light); in MakeFromBuffer()
44 Light light = Light::MakeDirectional(color, dirOrPos); in MakeFromBuffer() local
45 builder.add(light); in MakeFromBuffer()
66 Light light(fLights[i].type(), xform_color(fLights[i].color(), xformer), in makeColorSpace() local
68 builder.add(light); in makeColorSpace()
79 const Light& light = this->light(l); in flatten() local
81 bool isPoint = Light::kPoint_LightType == light.type(); in flatten()
84 buf.writeScalarArray(&light.color().fX, 3); in flatten()
85 buf.writeScalarArray(&light.dir().fX, 3); in flatten()
88 buf.writeScalar(light.intensity()); in flatten()