framebufferTexture2D method

void framebufferTexture2D(
  1. int target,
  2. int attachment,
  3. int textarget,
  4. WebGLTexture? texture,
  5. int level,
)

Implementation

void framebufferTexture2D(int target, int attachment, int textarget, WebGLTexture? texture, int level){
  _gl.framebufferTexture2D(target, attachment, textarget, texture?.id, level);
  checkError('framebufferTexture2D');
}