Home
last modified time | relevance | path

Searched refs:ELEMENT_ARRAY_BUFFER (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dshadow_demo.js130 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, o.indexBuffer);
149 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, o.indexBuffer);
194 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null);
274 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null);
291 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, buffer);
292 gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, data, gl.STATIC_DRAW);
H A Dpanorama_demo.js65 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, indexBuffer);
66 gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, indices, gl.STATIC_DRAW);
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dshadow2_demo.js132 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, o.indexBuffer);
151 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, o.indexBuffer);
196 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null);
276 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, null);
293 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, buffer);
294 gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, data, gl.STATIC_DRAW);
H A Dpanorama2_demo.js68 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, indexBuffer);
69 gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, indices, gl.STATIC_DRAW);
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DPlaneShape.js135 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, this.indexBuffer);
136 gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, this.indexBufferData, gl.STATIC_DRAW);
H A DCubeShape.js262 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, this.indexBuffer);
263 gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, this.indexBufferData, gl.STATIC_DRAW);
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_data_structures.h70 ELEMENT_ARRAY_BUFFER = 34963, in CORE3D_BEGIN_NAMESPACE() enumerator
H A Dgltf2_loader.cpp468 target != static_cast<int>(BufferTarget::ELEMENT_ARRAY_BUFFER)) { in BufferViewTarget()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Ddevice_gles.h270 ELEMENT_ARRAY_BUFFER, // stored in VAO state... enumerator
H A Ddevice_gles.cpp936 return BufferTargetId::ELEMENT_ARRAY_BUFFER; in GenericTargetToTargetId()
972 } else if (target == BufferTargetId::ELEMENT_ARRAY_BUFFER) { // stored in VAO state... in GenericTargetIdToTarget()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_base.h70 static const GLenum ELEMENT_ARRAY_BUFFER = 0x8893; variable
H A Dwebgl_rendering_context_base_impl.h58 ELEMENT_ARRAY_BUFFER, enumerator
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_draw.cpp1090 GetObjectInstance<WebGLBuffer>(env, boundBufferIds_[BoundBufferType::ELEMENT_ARRAY_BUFFER]); in CheckDrawElements()
H A Dwebgl_rendering_context_base_impl.cpp2543 case WebGLRenderingContextBase::ELEMENT_ARRAY_BUFFER: in CheckBufferTarget()
2544 index = BoundBufferType::ELEMENT_ARRAY_BUFFER; in CheckBufferTarget()
H A Dwebgl_rendering_context_common.cpp217 return NVal::CreateInt64(env, WebGLRenderingContextBase::ELEMENT_ARRAY_BUFFER).val_; in GetElementArrayBuffer()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md775 | webgl | WebGLRenderingContextBase | readonly ELEMENT_ARRAY_BUFFER: GLenum; | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md775 | webgl | WebGLRenderingContextBase | readonly ELEMENT_ARRAY_BUFFER: GLenum; | Added|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md66 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:readonly ELEMENT_ARRAY_BUFFER: GLenum;|…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md66 …: WebGLRenderingContextBase<br>Method or attribute name: readonly ELEMENT_ARRAY_BUFFER: GLenum;|NA…