code: func GetProgramResourceIndex(program uint32, programInterface uint32, name *uint8) uint32 {
  	ret, _, _ := syscall.Syscall(gpGetProgramResourceIndex, 3, uintptr(program), uintptr(programInterface), uintptr(unsafe.Pointer(name)))
  	return (uint32)(ret)
  }
docs: // query the index of a named resource within a program