core :: Sys :: glFramebufferTexture2D
# Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
fun glFramebufferTexture2D(target: GLFramebufferTarget, attachment: GLAttachment,
texture_target: GLTextureTarget, texture, level: Int) `{
glFramebufferTexture2D(target, attachment, texture_target, texture, level);
`}
lib/glesv2/glesv2.nit:1086,1--1090,2