GL_OVR_multiview

Valid APIs

OpenGL ES 3.0+

Description

The method of stereo rendering supported in OpenGL is currently achieved by rendering to the two eye buffers sequentially. This typically incurs double the application and driver overhead, despite the fact that the command streams and render states are almost identical.

This extension seeks to address the inefficiency of sequential Multiview rendering by adding a means to render to multiple elements of a 2D texture array simultaneously. In multiview rendering, draw calls are instanced into each corresponding element of the texture array. The vertex program uses a new ViewID variable to compute per-view values, typically the vertex position and view-dependent variables like reflection.

Registry Link

https://www.khronos.org/registry/OpenGL/extensions/OVR/OVR_multiview.txt

Example

glFramebufferTextureMultiviewOVR( target, attachment, texture, level, baseViewIndex, numViews );