glNamedFramebufferTexture function opengl_glext

void glNamedFramebufferTexture(
  1. int framebuffer,
  2. int attachment,
  3. int texture,
  4. int level,
)
GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level)

Implementation

void glNamedFramebufferTexture(
  int framebuffer,
  int attachment,
  int texture,
  int level,
) {
  final glNamedFramebufferTextureAsFunction = _glNamedFramebufferTexture
      .cast<
        NativeFunction<
          Void Function(
            Uint32 framebuffer,
            Uint32 attachment,
            Uint32 texture,
            Int32 level,
          )
        >
      >()
      .asFunction<
        void Function(int framebuffer, int attachment, int texture, int level)
      >();
  return glNamedFramebufferTextureAsFunction(
    framebuffer,
    attachment,
    texture,
    level,
  );
}