method
framebufferTexture2D

void framebufferTexture2D(
int target,
int attachment,
int textarget,
Texture texture,
int level
)

(Not documented.)