Back to Content

OES_fbo_render_mipmap extension

files/en-us/web/api/oes_fbo_render_mipmap/index.md

latest944 B
Original Source

{{APIRef("WebGL")}}

The OES_fbo_render_mipmap extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object.

WebGL extensions are available using the {{domxref("WebGLRenderingContext.getExtension()")}} method. For more information, see also Using Extensions in the WebGL tutorial.

[!NOTE] This extension is only available to {{domxref("WebGLRenderingContext", "WebGL 1", "", 1)}}. In WebGL2, the functionality of this extension is available in the WebGL 2 context by default.

Examples

See the sample code in the Khronos specification.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("WebGLRenderingContext.getExtension()")}}