EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

bindFramebuffer method

Associates a WebGLFramebuffer object with the gl.FRAMEBUFFER bind target.

IE11

 

Syntax

WebGLRenderingContext.bindFramebuffer(target, framebuffer);

Parameters

target [in]

Type: Number

The target the WebGLFramebuffer object is bound to. Must be gl.FRAMEBUFFER.

framebuffer [in]

Type: WebGLFramebuffer

The WebGLFramebuffer object.

Return value

This method does not return a value.

Remarks

The currently bound framebuffer is the target of drawing operations. If the framebuffer is null, the context reverts to the default framebuffer.

WebGL errorDescription
gl.INVALID_ENUMIf target isn't gl.FRAMEBUFFER.

 

See also

WebGLRenderingContext

 

 

Anzeigen:
© 2014 Microsoft