Home
last modified time | relevance | path

Searched refs:webGlSampler (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_sampler.cpp30 unique_ptr<WebGLSampler> webGlSampler = make_unique<WebGLSampler>(); in Constructor() local
31 if (!NClass::SetEntityFor<WebGLSampler>(env, funcArg.GetThisVar(), move(webGlSampler))) { in Constructor()
H A Dwebgl2_rendering_context_impl.cpp215 WebGLSampler* webGlSampler = nullptr; in CreateSampler() local
216 napi_value objSampler = WebGLSampler::CreateObjectInstance(env, &webGlSampler).val_; in CreateSampler()
217 if (webGlSampler == nullptr) { in CreateSampler()
222 webGlSampler->SetSampler(samplerId); in CreateSampler()