framebufferTexture2D method

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