glDrawCommandsStatesNv function opengl_glext

void glDrawCommandsStatesNv(
  1. int buffer,
  2. Pointer<Pointer<NativeType>> indirects,
  3. Pointer<Uint32> sizes,
  4. Pointer<Uint32> states,
  5. Pointer<Uint32> fbos,
  6. int count,
)
GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count)

Implementation

void glDrawCommandsStatesNv(
  int buffer,
  Pointer<Pointer<NativeType>> indirects,
  Pointer<Uint32> sizes,
  Pointer<Uint32> states,
  Pointer<Uint32> fbos,
  int count,
) {
  final glDrawCommandsStatesNvAsFunction = _glDrawCommandsStatesNv
      .cast<
        NativeFunction<
          Void Function(
            Uint32 buffer,
            Pointer<Pointer<NativeType>> indirects,
            Pointer<Uint32> sizes,
            Pointer<Uint32> states,
            Pointer<Uint32> fbos,
            Uint32 count,
          )
        >
      >()
      .asFunction<
        void Function(
          int buffer,
          Pointer<Pointer<NativeType>> indirects,
          Pointer<Uint32> sizes,
          Pointer<Uint32> states,
          Pointer<Uint32> fbos,
          int count,
        )
      >();
  return glDrawCommandsStatesNvAsFunction(
    buffer,
    indirects,
    sizes,
    states,
    fbos,
    count,
  );
}