glFramebufferTexture1D function

void glFramebufferTexture1D(
  1. int target,
  2. int attachment,
  3. int textarget,
  4. int texture,
  5. int level,
)
define glFramebufferTexture1D GLEW_GET_FUN(__glewFramebufferTexture1D)
GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D
typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)

Implementation

void glFramebufferTexture1D(
    int target, int attachment, int textarget, int texture, int level) {
  final glFramebufferTexture1DAsFunction = _glFramebufferTexture1D
      .cast<
          NativeFunction<
              Void Function(Uint32 target, Uint32 attachment, Uint32 textarget,
                  Uint32 texture, Int32 level)>>()
      .asFunction<
          void Function(int target, int attachment, int textarget, int texture,
              int level)>();
  return glFramebufferTexture1DAsFunction(
      target, attachment, textarget, texture, level);
}