glFramebufferTexture function

void glFramebufferTexture(
  1. int target,
  2. int attachment,
  3. int texture,
  4. int level,
)
define glFramebufferTexture GLEW_GET_FUN(__glewFramebufferTexture)
GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture
typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level)

Implementation

void glFramebufferTexture(int target, int attachment, int texture, int level) {
  final glFramebufferTextureAsFunction = _glFramebufferTexture
      .cast<
          NativeFunction<
              Void Function(Uint32 target, Uint32 attachment, Uint32 texture,
                  Int32 level)>>()
      .asFunction<
          void Function(int target, int attachment, int texture, int level)>();
  return glFramebufferTextureAsFunction(target, attachment, texture, level);
}