pixartist
pixartist

Reputation: 1155

How to use framebuffer targets in webgl?

How can I specifically use the read and write framebuffers in webgl ? Can't seem to find the constants for it.

Upvotes: 0

Views: 64

Answers (1)

Danny Ruijters
Danny Ruijters

Reputation: 3420

This is not part of OpenGL ES 2, and therefore also not part of the current WebGL (which is based on OpenGL ES 2).

It is part of OpenGL ES 3, and planned for WebGL 2. Have a look at the WebGL 2 standard: https://www.khronos.org/registry/webgl/specs/latest/2.0/ and search for 'READ_FRAMEBUFFER'.

Upvotes: 1

Related Questions