Lines Matching defs:func
84 napi_value func;
86 sizeof(props) / sizeof(props[0]), props, &func);
88 napi_set_named_property(env, exports, "Scene", func);
92 mis->StoreCtor("Scene", func);
100 // assert that the threadsafe func has been released.
366 // call the threadsafe func here. (let the javascript know we are done)
396 NapiApi::Function func = env.Get<NapiApi::Function>("destroy");
397 if (func) {
398 func.Invoke(env);
409 NapiApi::Function func = env.Get<NapiApi::Function>("destroy");
410 if (func) {
411 func.Invoke(env);
416 NapiApi::Function func = env.Get<NapiApi::Function>("destroy");
417 if (func) {
418 func.Invoke(env);
526 NapiApi::Function func = root.Get<NapiApi::Function>("getNodeByPath");
542 return func.Invoke(root, 1, &newpath);
723 NapiApi::Function func;
726 func = GetJSConstructor(env, "DirectionalLight");
730 func = GetJSConstructor(env, "PointLight");
734 func = GetJSConstructor(env, "SpotLight");
740 if (!func) {
743 result = NapiApi::Object(func, BASE_NS::countof(args), args);