Home
last modified time | relevance | path

Searched refs:FRAMEBUFFER (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dshadow_demo.js95 gl.bindFramebuffer(gl.FRAMEBUFFER, fbo);
106 gl.bindFramebuffer(gl.FRAMEBUFFER, null); // 将绘图目标更改为颜色缓冲区
331 gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);
332 gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, texture, 0);
333 gl.framebufferRenderbuffer(gl.FRAMEBUFFER, gl.DEPTH_ATTACHMENT, gl.RENDERBUFFER, depthBuffer);
334 let e = gl.checkFramebufferStatus(gl.FRAMEBUFFER);
339 gl.bindFramebuffer(gl.FRAMEBUFFER, null);
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dshadow2_demo.js97 gl.bindFramebuffer(gl.FRAMEBUFFER, fbo);
108 gl.bindFramebuffer(gl.FRAMEBUFFER, null); // 将绘图目标更改为颜色缓冲区
333 gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);
334 gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, texture, 0);
335 gl.framebufferRenderbuffer(gl.FRAMEBUFFER, gl.DEPTH_ATTACHMENT, gl.RENDERBUFFER, depthBuffer);
336 let e = gl.checkFramebufferStatus(gl.FRAMEBUFFER);
341 gl.bindFramebuffer(gl.FRAMEBUFFER, null);
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base_impl.cpp252 boundFrameBufferIds_[BoundFrameBufferType::FRAMEBUFFER] = frameBufferId; in BindFrameBuffer()
492 if (boundFrameBufferIds_[BoundFrameBufferType::FRAMEBUFFER] == frameBufferId) { in DeleteFrameBuffer()
493 boundFrameBufferIds_[BoundFrameBufferType::FRAMEBUFFER] = 0; in DeleteFrameBuffer()
497 if (frameBufferId == boundFrameBufferIds_[BoundFrameBufferType::FRAMEBUFFER]) { in DeleteFrameBuffer()
500 boundFrameBufferIds_[BoundFrameBufferType::FRAMEBUFFER] = 0; in DeleteFrameBuffer()
504 boundFrameBufferIds_[BoundFrameBufferType::FRAMEBUFFER] = 0; in DeleteFrameBuffer()
808 … WebGLFramebuffer* frameBuffer = GetBoundFrameBuffer(env, WebGLRenderingContextBase::FRAMEBUFFER); in GetFrameBufferAttachmentParameter()
2452 case WebGLRenderingContextBase::FRAMEBUFFER: in CheckFrameBufferTarget()
2453 index = BoundFrameBufferType::FRAMEBUFFER; in CheckFrameBufferTarget()
2741 GLenum complete = glCheckFramebufferStatus(WebGLRenderingContextBase::FRAMEBUFFER); in CheckFrameBufferBoundComplete()
[all …]
H A Dwebgl_rendering_context_common.cpp1312 return NVal::CreateInt64(env, WebGLRenderingContextBase::FRAMEBUFFER).val_; in Getframebuffer()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_base.h289 static const GLenum FRAMEBUFFER = 0x8D40; variable
H A Dwebgl_rendering_context_base_impl.h69 FRAMEBUFFER, enumerator
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md556 | webgl | WebGLRenderingContextBase | readonly FRAMEBUFFER: GLenum; | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md556 | webgl | WebGLRenderingContextBase | readonly FRAMEBUFFER: GLenum; | Added|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md285 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:readonly FRAMEBUFFER: GLenum;|NA|webgl.…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md285 … name: WebGLRenderingContextBase<br>Method or attribute name: readonly FRAMEBUFFER: GLenum;|NA|web…