glGetFramebufferAttachmentParameteriv function

void glGetFramebufferAttachmentParameteriv(
  1. int target,
  2. int attachment,
  3. int pname,
  4. Pointer<Int32> params,
)
define glGetFramebufferAttachmentParameteriv GLEW_GET_FUN(__glewGetFramebufferAttachmentParameteriv)
GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv
typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params)

Implementation

void glGetFramebufferAttachmentParameteriv(
    int target, int attachment, int pname, Pointer<Int32> params) {
  final glGetFramebufferAttachmentParameterivAsFunction =
      _glGetFramebufferAttachmentParameteriv
          .cast<
              NativeFunction<
                  Void Function(Uint32 target, Uint32 attachment, Uint32 pname,
                      Pointer<Int32> params)>>()
          .asFunction<
              void Function(int target, int attachment, int pname,
                  Pointer<Int32> params)>();
  return glGetFramebufferAttachmentParameterivAsFunction(
      target, attachment, pname, params);
}