glVdpauRegisterVideoSurfaceNv function opengl_glext

Pointer<NativeType> glVdpauRegisterVideoSurfaceNv(
  1. Pointer<NativeType> vdpSurface,
  2. int target,
  3. int numTextureNames,
  4. Pointer<Uint32> textureNames,
)
GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames)

Implementation

Pointer<NativeType> glVdpauRegisterVideoSurfaceNv(
  Pointer<NativeType> vdpSurface,
  int target,
  int numTextureNames,
  Pointer<Uint32> textureNames,
) {
  final glVdpauRegisterVideoSurfaceNvAsFunction = _glVdpauRegisterVideoSurfaceNv
      .cast<
        NativeFunction<
          Pointer<NativeType> Function(
            Pointer<NativeType> vdpSurface,
            Uint32 target,
            Uint32 numTextureNames,
            Pointer<Uint32> textureNames,
          )
        >
      >()
      .asFunction<
        Pointer<NativeType> Function(
          Pointer<NativeType> vdpSurface,
          int target,
          int numTextureNames,
          Pointer<Uint32> textureNames,
        )
      >();
  return glVdpauRegisterVideoSurfaceNvAsFunction(
    vdpSurface,
    target,
    numTextureNames,
    textureNames,
  );
}