glFramebufferTextureLayer function

void glFramebufferTextureLayer(
  1. int target,
  2. int attachment,
  3. int texture,
  4. int level,
  5. int layer,
)
define glFramebufferTextureLayer GLEW_GET_FUN(__glewFramebufferTextureLayer)
GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer
typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target,GLenum attachment, GLuint texture,GLint level,GLint layer)

Implementation

void glFramebufferTextureLayer(
    int target, int attachment, int texture, int level, int layer) {
  final glFramebufferTextureLayerAsFunction = _glFramebufferTextureLayer
      .cast<
          NativeFunction<
              Void Function(Uint32 target, Uint32 attachment, Uint32 texture,
                  Int32 level, Int32 layer)>>()
      .asFunction<
          void Function(
              int target, int attachment, int texture, int level, int layer)>();
  return glFramebufferTextureLayerAsFunction(
      target, attachment, texture, level, layer);
}