A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR below:

OVR_multiview2: framebufferTextureMultiviewOVR() method - Web APIs

OVR_multiview2: framebufferTextureMultiviewOVR() method

Limited availability

The OVR_multiview2.framebufferTextureMultiviewOVR() method of the WebGL API attaches a multiview texture to a WebGLFramebuffer.

Syntax
framebufferTextureMultiviewOVR(target, attachment, texture, level, baseViewIndex, numViews)
Parameters
target

A GLenum specifying the binding point (target). Possible values:

gl.FRAMEBUFFER

Collection buffer data storage of color, alpha, depth and stencil buffers used to render an image.

gl.DRAW_FRAMEBUFFER

Equivalent to gl.FRAMEBUFFER. Used as a destination for drawing, rendering, clearing, and writing operations.

gl.READ_FRAMEBUFFER

Used as a source for reading operations.

attachment

A GLenum specifying the attachment point for the texture. Possible values:

When using the WEBGL_depth_texture extension:

texture

A WebGLTexture object whose image to attach.

level

A GLint specifying the mipmap level of the texture image to be attached. Must be 0.

baseViewIndex

A GLint specifying the base view index of the framebuffer object attachment.

numViews

A GLsizei specifying the number of views of the framebuffer object attachment.

Return value

None (undefined).

Exceptions Examples
ext.framebufferTextureMultiviewOVR(
  gl.DRAW_FRAMEBUFFER,
  gl.COLOR_ATTACHMENT0,
  colorTex,
  0,
  0,
  2,
);
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4