Searched refs:webGlSampler (Results 1 – 2 of 2) sorted by relevance
30 unique_ptr<WebGLSampler> webGlSampler = make_unique<WebGLSampler>(); in Constructor() local31 if (!NClass::SetEntityFor<WebGLSampler>(env, funcArg.GetThisVar(), move(webGlSampler))) { in Constructor()
215 WebGLSampler* webGlSampler = nullptr; in CreateSampler() local216 napi_value objSampler = WebGLSampler::CreateObjectInstance(env, &webGlSampler).val_; in CreateSampler()217 if (webGlSampler == nullptr) { in CreateSampler()222 webGlSampler->SetSampler(samplerId); in CreateSampler()