Function Gl.NamedFramebufferTextureLayer

Commands for GL_VERSION_4_5

void NamedFramebufferTextureLayer (
  uint framebuffer,
  uint attachment,
  uint texture,
  int level,
  int layer
) const;