Home
last modified time | relevance | path

Searched refs:node_props (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DGeometryJS.cpp54 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
55 NodeImpl::GetPropertyDescs(node_props); in Init()
58 node_props.push_back(GetProperty<Object, GeometryJS, &GeometryJS::GetMesh>("mesh")); in Init()
62 node_props.size(), node_props.data(), &func); in Init()
H A DMeshJS.cpp40 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
41 SceneResourceImpl::GetPropertyDescs(node_props); in Init()
44 node_props.push_back(GetProperty<Object, MeshJS, &MeshJS::GetSubmesh>("subMeshes")); in Init()
45 node_props.push_back(GetProperty<Object, MeshJS, &MeshJS::GetAABB>("aabb")); in Init()
46 node_props.push_back( in Init()
51 node_props.size(), node_props.data(), &func); in Init()
H A DSubMeshJS.cpp43 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
46node_props.push_back(GetSetProperty<BASE_NS::string, SubMeshJS, &SubMeshJS::GetName, &SubMeshJS::S… in Init()
47 node_props.push_back(GetProperty<Object, SubMeshJS, &SubMeshJS::GetAABB>("aabb")); in Init()
48 node_props.push_back( in Init()
53 node_props.size(), node_props.data(), &func); in Init()
H A DEnvironmentJS.cpp36 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
37 SceneResourceImpl::GetPropertyDescs(node_props); in Init()
40node_props.emplace_back(GetSetProperty<uint32_t, EnvironmentJS, &EnvironmentJS::GetBackgroundType, in Init()
42node_props.emplace_back(GetSetProperty<Object, EnvironmentJS, &EnvironmentJS::GetEnvironmentImage, in Init()
44 node_props.emplace_back(GetSetProperty<Object, EnvironmentJS, &EnvironmentJS::GetRadianceImage, in Init()
46node_props.emplace_back(GetSetProperty<NapiApi::Array, EnvironmentJS, &EnvironmentJS::GetIrradianc… in Init()
48node_props.emplace_back(GetSetProperty<Object, EnvironmentJS, &EnvironmentJS::GetIndirectDiffuseFa… in Init()
50node_props.emplace_back(GetSetProperty<Object, EnvironmentJS, &EnvironmentJS::GetIndirectSpecularF… in Init()
52node_props.emplace_back(GetSetProperty<Object, EnvironmentJS, &EnvironmentJS::GetEnvironmentMapFac… in Init()
59 node_props.size(), node_props.data(), &func); in Init()
H A DNodeJS.cpp23 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
24 NodeImpl::GetPropertyDescs(node_props); in Init()
28 node_props.size(), node_props.data(), &func); in Init()
H A DCameraJS.cpp90 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
91 NodeImpl::GetPropertyDescs(node_props); in Init()
94node_props.push_back(GetSetProperty<float, CameraJS, &CameraJS::GetFov, &CameraJS::SetFov>("fov")); in Init()
95node_props.push_back(GetSetProperty<float, CameraJS, &CameraJS::GetNear, &CameraJS::SetNear>("near… in Init()
96node_props.push_back(GetSetProperty<float, CameraJS, &CameraJS::GetFar, &CameraJS::SetFar>("farPla… in Init()
97node_props.push_back(GetSetProperty<bool, CameraJS, &CameraJS::GetEnabled, &CameraJS::SetEnabled>(… in Init()
98node_props.push_back(GetSetProperty<bool, CameraJS, &CameraJS::GetMSAA, &CameraJS::SetMSAA>("msaa"… in Init()
99 node_props.push_back( in Init()
101node_props.push_back(GetSetProperty<Object, CameraJS, &CameraJS::GetColor, &CameraJS::SetColor>("c… in Init()
105 node_props.size(), node_props.data(), &func); in Init()
H A DToneMapJS.cpp83 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
85node_props.emplace_back(GetSetProperty<uint32_t, ToneMapJS, &ToneMapJS::GetType, &ToneMapJS::SetTy… in Init()
86 node_props.emplace_back(GetSetProperty<float, ToneMapJS, &ToneMapJS::GetExposure, in Init()
88node_props.push_back(MakeTROMethod<NapiApi::FunctionContext<>, ToneMapJS, &ToneMapJS::Dispose>("de… in Init()
93 nullptr, node_props.size(), node_props.data(), &func); in Init()
H A DPostProcJS.cpp39 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
42node_props.push_back(GetSetProperty<bool, PostProcJS, &PostProcJS::GetBloom, &PostProcJS::SetBloom… in Init()
43 node_props.emplace_back(GetSetProperty<Object, PostProcJS, &PostProcJS::GetToneMapping, in Init()
45node_props.push_back(MakeTROMethod<NapiApi::FunctionContext<>, PostProcJS, &PostProcJS::Dispose>("… in Init()
51 nullptr, node_props.size(), node_props.data(), &func); in Init()
H A DLightJS.cpp288 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
290 BaseLight::Init("SpotLight", env, exports, node_props, BaseObject::ctor<SpotLightJS>()); in Init()
333 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
334 BaseLight::Init("PointLight", env, exports, node_props, BaseObject::ctor<PointLightJS>()); in Init()
363 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
364 node_props.push_back( in Init()
367 …BaseLight::Init("DirectionalLight", env, exports, node_props, BaseObject::ctor<DirectionalLightJS>… in Init()
H A DMaterialJS.cpp31 BASE_NS::vector<napi_property_descriptor>& node_props) in Init() argument
33 SceneResourceImpl::GetPropertyDescs(node_props); in Init()
36node_props.push_back(TROGetProperty<float, BaseMaterial, &BaseMaterial::GetMaterialType>("material… in Init()
40 … env, class_name, NAPI_AUTO_LENGTH, ctor, nullptr, node_props.size(), node_props.data(), &func); in Init()
H A DShaderJS.cpp199 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
201 SceneResourceImpl::GetPropertyDescs(node_props); in Init()
205 node_props.size(), node_props.data(), &func); in Init()
H A DAnimationJS.cpp52 BASE_NS::vector<napi_property_descriptor> node_props; in Init() local
53 SceneResourceImpl::GetPropertyDescs(node_props); in Init()
/ohos5.0/foundation/graphic/graphic_3d/kits/js/include/napi/
H A Dnapi_api.h959node_props.push_back(NapiApi::GetProperty<type, NAPI_API_CLASS_NAME, &NAPI_API_CLASS_NAME::getter>…
961node_props.push_back(NapiApi::SetProperty<type, NAPI_API_CLASS_NAME, &NAPI_API_CLASS_NAME::setter>…
963node_props.push_back(NapiApi::GetSetProperty<type, NAPI_API_CLASS_NAME, &NAPI_API_CLASS_NAME::gett…
966node_props.push_back( …
973 … BaseObject::ctor<NAPI_API_CLASS_NAME>(), nullptr, node_props.size(), node_props.data(), &func); \
/ohos5.0/foundation/graphic/graphic_3d/kits/js/include/
H A DLightJS.h42 BASE_NS::vector<napi_property_descriptor>& node_props, napi_callback ctor);