glFramebufferTextureLayer function opengl_glext

void glFramebufferTextureLayer(
  1. int target,
  2. int attachment,
  3. int texture,
  4. int level,
  5. int layer,
)
GLAPI void APIENTRY glFramebufferTextureLayer (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,
  );
}